/* JAC Interiors - Custom Website Styles */
/* Based on Invero Design - Enhanced "Mega" Version */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Elegant neutral palette */
    --color-primary: #c9a961;
    --color-primary-dark: #b08f47;
    --color-secondary: #1a1a1a; /* Darker black for Invero look */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-bg-dark: #111111; /* Almost black */
    --color-border: #e5e5e5;
    --stroke: #e4e4e4;
    
    /* Typography */
    /* Match Home page font */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;
    --spacing-xxl: 12rem; /* Massive spacing for Invero look */
    
    /* Layout */
    --container-width: 1400px; /* Wider container */
    --border-radius: 0px; /* Sharp corners are more "modern luxury" */
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--color-secondary);
}

h1 { font-size: clamp(3.5rem, 8vw, 7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.01em; }

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile: prevent images in fixed-aspect wrappers from overflowing; keep subject centered */
@media (max-width: 980px) {
    .project-list-image img,
    .process-media img,
    .project-media img,
    .project-img-wrapper img,
    .hero-img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
    .project-list-image,
    .process-media,
    .project-media {
        overflow: hidden;
    }
}

/* Utility Classes */
.bg-dark { background-color: var(--color-bg-dark); color: white; }
.bg-light { background-color: var(--color-bg-alt); }
.text-white { color: white !important; }
.text-light { color: rgba(255, 255, 255, 0.7) !important; }
.text-center { text-align: center; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 1.125rem;
        padding-right: 1.125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Container width modifiers (used to replace inline max-width overrides) */
.container--1320 { max-width: 1320px; }
.container--1340 { max-width: 1340px; }
.container--1200 { max-width: 1200px; }

.section { padding: var(--spacing-xl) 0; }
.section-lg { padding: var(--spacing-xxl) 0; }
.section-full { min-height: 100vh; display: flex; align-items: center; }

/* Normalized legacy inline sections (gradual cleanup) */
.section-hero-dark {
    padding: 2rem 0;
    background: var(--color-secondary);
    color: white;
    margin-top: 0;
}
.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: white;
}
.hero-subtitle {
    font-size: 15px;
    color: #ccc;
    line-height: 1.5;
    font-weight: 400;
    max-width: 700px;
}

/* Dark bar (Portfolio, Gallery, Project pages, Spaces): compact title + less padding so bar uses less screen space */
section[style*="background: #1a1a1a"][style*="padding: 3rem 0"],
section[style*="background-color: #1a1a1a"][style*="padding: 3rem 0"] {
    padding: 1.75rem 0 !important;
}
section[style*="background: #1a1a1a"][style*="padding: 3rem 0"] h1,
section[style*="background-color: #1a1a1a"][style*="padding: 3rem 0"] h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.15rem) !important;
    font-weight: 500 !important;
    margin: 0 0 0.5rem 0 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.1 !important;
    color: white !important;
}
section[style*="background: #1a1a1a"][style*="padding: 3rem 0"] p,
section[style*="background-color: #1a1a1a"][style*="padding: 3rem 0"] p {
    font-size: 15px !important;
    color: #ccc !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    max-width: 700px !important;
    margin: 0 !important;
}

/* Legacy black hero blocks (many city pages + rebuild-la) */
section[style*="background-color: #000"][style*="padding: 2rem 0"] h1 {
    color: #fff !important;
    font-size: clamp(2.35rem, 4.5vw, 3rem) !important;
    font-weight: 500 !important;
    margin: 0 !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
}
section[style*="background-color: #000"][style*="padding: 2rem 0"] p {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0.5rem 0 0 0 !important;
    opacity: 0.9 !important;
}

/* Legacy black hero meta (Service / Pricing / Status, etc.) */
section[style*="background-color: #000"][style*="padding: 2rem 0"] div[style*="font-size: 14px"][style*="gap: 2rem"] {
    display: flex !important;
    gap: 2rem !important;
    color: #fff !important;
    font-size: 0.875rem !important; /* 14px */
    line-height: 1.15 !important;
    letter-spacing: -0.1px !important;
}
section[style*="background-color: #000"][style*="padding: 2rem 0"] div[style*="font-size: 14px"][style*="gap: 2rem"] > div {
    min-width: 9.5rem;
}
section[style*="background-color: #000"][style*="padding: 2rem 0"] div[style*="font-size: 14px"][style*="gap: 2rem"] > div > span:first-child {
    opacity: 0.72 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}
section[style*="background-color: #000"][style*="padding: 2rem 0"] div[style*="font-size: 14px"][style*="gap: 2rem"] > div > span:nth-child(3) {
    font-weight: 600 !important;
    opacity: 1 !important;
}

/* Legacy content typography blocks (cities + projects + rebuild-la).
   Normalize h2/p styles that are hardcoded inline. */
h2[style*="font-size: 1.8rem"][style*="font-weight: 500"][style*="letter-spacing: -0.5px"] {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem) !important;
    letter-spacing: -0.02em !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem !important;
    color: var(--color-secondary) !important;
}
p[style*="font-size: 16px"][style*="line-height: 24px"][style*="color: #444"] {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: var(--color-text) !important;
    margin-bottom: 1rem !important;
}

/* Legacy split rows (image left + copy right).
   Normalize spacing and make it responsive without editing every page. */
div[style*="display: flex"][style*="gap: 3rem"][style*="margin-bottom: 3rem"][style*="align-items: center"] {
    display: flex !important;
    gap: 3rem !important;
    margin-bottom: 3rem !important;
    align-items: center !important;
}
div[style*="display: flex"][style*="gap: 3rem"][style*="margin-bottom: 3rem"][style*="align-items: center"] > div[style*="flex: 0 0 48%"] {
    flex: 0 0 48% !important;
    max-width: 48% !important;
}
div[style*="display: flex"][style*="gap: 3rem"][style*="margin-bottom: 3rem"][style*="align-items: center"] > div[style*="flex: 1"][style*="padding-left: 2rem"] {
    flex: 1 1 0% !important;
    padding-left: 0 !important; /* gap already provides spacing */
}
@media (max-width: 900px) {
    div[style*="display: flex"][style*="gap: 3rem"][style*="margin-bottom: 3rem"][style*="align-items: center"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
        margin-bottom: 2.25rem !important;
    }
    div[style*="display: flex"][style*="gap: 3rem"][style*="margin-bottom: 3rem"][style*="align-items: center"] > div[style*="flex: 0 0 48%"] {
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }
}

/* Legacy "first row" two-column grid used on spaces + project pages */
div.first-row-grid[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: 2rem"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}
@media (max-width: 900px) {
    div.first-row-grid[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: 2rem"] {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Legacy masonry grid wrapper spacing */
div.image-gallery-grid[style*="margin-bottom: 2rem"] {
    margin-bottom: 2rem !important;
}

/* Legacy light intro cards on masonry pages (.first-row-text) */
div.first-row-text[style*="background: #fafafa"][style*="padding: 2.5rem"][style*="border-radius: 4px"] {
    background: #fafafa !important;
    padding: clamp(1.5rem, 2.3vw, 2.5rem) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Card title (often an h3 with inline 1.8rem rules) */
h3[style*="font-size: 1.8rem"][style*="font-weight: 500"][style*="letter-spacing: -0.5px"] {
    font-size: clamp(1.35rem, 1.7vw, 1.75rem) !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    margin-bottom: 0.9rem !important;
    color: var(--color-secondary) !important;
}

/* Card body text (many pages set margin-bottom:0) */
p[style*="font-size: 16px"][style*="line-height: 24px"][style*="color: #444"][style*="margin-bottom: 0"] {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: var(--color-text) !important;
    margin-bottom: 0 !important;
}

/* Legacy CTA blocks (Ready to ... / Start Your Project) */
section[style*="padding: 6rem 0"][style*="background: #fafafa"][style*="text-align: center"] {
    padding: clamp(4rem, 9vw, 6rem) 0 !important;
    background: #fafafa !important;
    text-align: center !important;
}
section[style*="padding: 6rem 0"][style*="background: #fafafa"][style*="text-align: center"] .container[style*="max-width: 700px"] {
    max-width: 700px !important;
}
section[style*="padding: 6rem 0"][style*="background: #fafafa"][style*="text-align: center"] h2[style*="font-size: 2.5rem"][style*="letter-spacing: -1px"] {
    font-size: clamp(2rem, 3.6vw, 2.75rem) !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1rem !important;
    line-height: 1.1 !important;
}
section[style*="padding: 6rem 0"][style*="background: #fafafa"][style*="text-align: center"] p[style*="font-size: 1.1rem"][style*="color: #666"][style*="margin-bottom: 2rem"] {
    font-size: 1.05rem !important;
    color: var(--color-text-light) !important;
    margin-bottom: 1.5rem !important;
}
section[style*="padding: 6rem 0"][style*="background: #fafafa"][style*="text-align: center"] a.btn.btn-primary[style*="padding: 1rem 2.5rem"][style*="border-radius: 4px"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.95rem 2.25rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    text-decoration: none !important;
}
section[style*="padding: 6rem 0"][style*="background: #fafafa"][style*="text-align: center"] a.btn.btn-primary:hover {
    transform: translateY(-1px);
}

/* Site-wide CTA card (replaces legacy bottom CTA blocks) */
.site-cta {
    padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.site-cta-card {
    background: radial-gradient(1200px 400px at 30% 0%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(180deg, #121212 0%, #0c0c0c 100%);
    color: #fff;
    border-radius: 18px;
    padding: clamp(2rem, 3.6vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.site-cta-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.6rem;
}
.site-cta-title {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    line-height: 1.05;
    margin: 0 0 0.75rem 0;
}
.site-cta-subtitle {
    margin: 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.6;
}
.site-cta-phone {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}
.site-cta-phone a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.site-cta-phone a:hover {
    color: #fff;
}
.site-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.site-cta-button:hover {
    transform: translateY(-1px);
    background: #fff;
}
.site-cta-arrow {
    display: inline-block;
    transform: translateY(-0.5px);
}
@media (max-width: 900px) {
    .site-cta-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .site-cta-button {
        align-self: flex-start;
    }
}

/* Legacy inline footer blocks (fallback if JS replacement doesn't run) */
footer[style*="#1a1a1a"] {
    background: var(--color-bg-dark) !important;
    color: white !important;
    padding: 3rem 0 2rem !important;
}
footer[style*="#1a1a1a"] p,
footer[style*="#1a1a1a"] a {
    color: rgba(255, 255, 255, 0.72) !important;
}
footer[style*="#1a1a1a"] a:hover {
    color: rgba(255, 255, 255, 0.92) !important;
}
footer[style*="#1a1a1a"] h4 {
    color: white !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    letter-spacing: -0.01em;
}
footer[style*="#1a1a1a"] img[style*="filter: brightness(0) invert(1)"] {
    opacity: 0.95;
}
footer[style*="#1a1a1a"] div[style*="display: grid"][style*="grid-template-columns"][style*="gap: 5rem"] {
    gap: 3rem !important;
    margin-bottom: 2.5rem !important;
}
footer[style*="#1a1a1a"] div[style*="text-align: center"][style*="border-top: 1px solid #333"] {
    padding-top: 1.5rem !important;
    border-top-color: rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.55) !important;
}
@media (max-width: 900px) {
    footer[style*="#1a1a1a"] div[style*="display: grid"][style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }
}
.section-pad-4 { padding: 4rem 0; }
.section-pad-6 { padding: 6rem 0; }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.section-header h1,
.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-content h2 {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* About page: "What Makes Us Different" should be 3 columns on desktop */
@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Buttons - Invero Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* ===================================
   PROJECT HEADER CALLOUTS (Invero-style tags)
   =================================== */
.project-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.project-callouts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    padding-top: 0.35rem;
    max-width: 520px;
}

.project-callout {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #111111;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.project-callout-break {
    flex-basis: 100%;
    height: 0;
}

@media (max-width: 900px) {
    .project-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-callouts {
        justify-content: flex-start;
        max-width: 100%;
        padding-top: 0;
    }
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--color-secondary);
    border-color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* Navigation - Transparent to Solid */
/* Navigation - Ensure consistent styling from navbar.html */
/* navbar.html has inline styles that take precedence, but these are fallbacks */
.navbar {
    padding: 0.5rem 0 !important;
    background: white !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: 1px solid var(--stroke) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.navbar.scrolled {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

/* Dark navbar for internal pages */
.navbar.navbar-dark {
    background: #1a1a1a;
}

.nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Logo styling - navbar.html uses text logo, not image */
.logo {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    letter-spacing: -1px !important;
    text-transform: uppercase !important;
    color: #222a26 !important;
    text-decoration: none !important;
}

.logo-img { height: 40px; width: auto; filter: none; transition: var(--transition); }
.navbar.scrolled .logo-img { filter: none; }

/* Dark navbar: white logo */
.navbar.navbar-dark .logo-img {
    filter: brightness(0) invert(1);
}

.nav-menu, .nav-links { 
    display: flex !important; 
    gap: 2.5rem !important; 
    align-items: center !important; 
}
.nav-link { 
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #222a26 !important;
    letter-spacing: -0.2px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}
.nav-link:hover { 
    opacity: 0.7 !important; 
}
.nav-link.active {
    font-weight: 600 !important;
}

/* Dark navbar: white links (only when navbar-dark class is present) */
.navbar.navbar-dark .nav-link {
    color: white !important;
}
.nav-link:hover { opacity: 1; color: var(--color-primary) !important; }

/* Dropdown styles - ensure consistency */
.navbar { overflow: visible !important; }
.navbar .container { overflow: visible !important; }
.navbar .nav-wrapper { overflow: visible !important; }
.nav-menu { overflow: visible !important; }

.nav-dropdown {
    position: relative;
    display: inline-block;
}
/* Desktop: submenu is the right half of the screen, starting below the nav bar, scrollable */
.nav-dropdown-content {
    display: none !important;
    position: fixed !important;
    top: 151px !important; /* below the navbar: logo 135px + 2×8px padding */
    left: 50% !important;
    right: 0 !important;
    width: 50% !important;
    max-width: none;
    height: calc(100vh - 151px) !important;
    max-height: calc(100vh - 151px) !important;
    min-height: 0;
    margin: 0 !important;
    padding: 5rem 0 2rem 0 !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    background: white;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    border-radius: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    box-sizing: border-box;
}
.nav-dropdown:hover .nav-dropdown-content {
    display: block !important;
}
/* Keep dropdown visible when hovering over it */
.nav-dropdown-content:hover {
    display: block !important;
}
.nav-dropdown-content a {
    display: block;
    padding: 0.4rem 1.25rem;
    color: #333;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}
.nav-dropdown-content a:last-child {
    border-bottom: none;
}
.nav-dropdown-content a:hover {
    background: #f5f5f5;
    color: var(--color-primary);
}

.mobile-menu-toggle { display: none; }

/* Announcement Bar */
.announcement-bar {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    cursor: pointer;
}
.announcement-bar:hover { background: var(--color-primary-dark); }
.announcement-bar p { margin: 0; color: white; }

/* Mega Hero */
.hero-mega {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    padding: 0 2rem;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-title-mega {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: white !important;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    color: white;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Trust Strip */
.trust-strip {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}
.trust-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
}
.badge-icon { color: #c9a961; font-size: 1.2rem; }

/* Sticky Scroll Section (About) */
.sticky-section {
    position: relative;
    padding: var(--spacing-xl) 0;
}
.sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}
.sticky-content {
    position: sticky;
    top: 150px;
    height: fit-content;
}
.sticky-media img {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Services (Dark Mode) */
.services-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}
.service-item-dark {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    transition: var(--transition);
}
.service-item-dark:hover {
    border-color: var(--color-primary);
}
.service-num {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
    font-family: var(--font-display);
}
.service-title-dark {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}
.service-desc-dark {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}
.text-link-light {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.text-link-light:hover { color: var(--color-primary); }

/* Selected Works (Alternating) */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4rem;
}

/* Invero Portfolio List Item */
.project-list-item {
    display: flex !important;
    flex-direction: row !important;
    border-top: 1px solid #e4e4e4;
    padding: 3rem 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
    align-items: start;
}
.project-list-item.reverse .project-list-image {
    order: 2;
}
.project-list-item.reverse .project-list-content {
    order: 1;
    padding-left: 0 !important;
    padding-right: 20px !important;
}

/* Reviews carousel (shared: Home + About) */
.reviews-section {
    padding: 6rem 0;
    background: #ffffff;
    color: #222a26;
    /* Match About page typography */
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.48px;
}

.reviews-section h2,
.reviews-section .kicker {
    color: #222a26;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.reviews-section .kicker {
    display: none;
}

.reviews-section p {
    color: #555555;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.reviews-header {
    max-width: 900px;
    margin-bottom: 2.5rem;
}

.reviews-featured-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.featured-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #222a26;
    background: #ffffff;
    letter-spacing: -0.2px;
}

.reviews-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.15rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    background: #ffffff;
    color: #222a26;
    font-size: 0.92rem;
    line-height: 1;
    letter-spacing: -0.2px;
    font-weight: 500;
}

.trust-pill .stars {
    color: #ffb800;
    letter-spacing: 0.1em;
    font-size: 0.98rem;
    line-height: 1;
}

.trust-pill .trophy {
    font-size: 0.95rem;
    line-height: 1;
}

.reviews-shell {
    border: 3px solid #d6d6d6;
    border-radius: 4px;
    padding: 2.5rem;
    background: #fafafa;
    box-shadow: 0 28px 85px rgba(0, 0, 0, 0.14);
}

.reviews-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 1rem;
}

.reviews-arrow {
    appearance: none;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #222a26;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 1.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s ease;
}

.reviews-arrow:hover {
    background: #f5f5f5;
    border-color: #d7d7d7;
}

.reviews-slides {
    position: relative;
    min-height: 170px;
}

.review-slide {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
    transition: opacity 0.35s ease;
}

.review-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.review-stars {
    color: #ffb800;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}

.review-quote {
    color: #222a26;
    font-size: 20px !important;
    line-height: 1.4em !important;
    letter-spacing: -0.48px !important;
    font-weight: 500 !important;
    margin-bottom: 1.15rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: italic;
}

.review-meta {
    font-size: 0.95rem !important;
    color: #555555;
    font-weight: 600 !important;
    letter-spacing: -0.2px !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid #c9c9c9;
    background: #e6e6e6;
    cursor: pointer;
    transition: 0.25s ease;
}

.review-dot.is-active {
    width: 28px;
    background: #222a26;
    border-color: #222a26;
}

@media (max-width: 900px) {
    .reviews-section {
        padding: 4.75rem 0;
    }
    .reviews-shell {
        padding: 1.5rem 1.1rem;
    }
    .reviews-trust-row {
        gap: 0.6rem;
        justify-content: flex-start;
    }
    .trust-pill {
        font-size: 0.88rem;
        padding: 0.42rem 0.65rem;
    }
    .trust-pill .stars {
        font-size: 0.95rem;
    }
    .reviews-carousel {
        grid-template-columns: 44px 1fr 44px;
    }
    .reviews-slides {
        min-height: 210px;
    }
}

/* Press / "In the media" (About) */
.press-section {
    padding: 6rem 0;
    background: #ffffff;
    color: #222a26;
}

.press-header {
    max-width: 900px;
    margin-bottom: 2rem;
}

.press-header h2 {
    margin: 0 0 0.6rem;
}

.press-header .press-subhead {
    margin: 0;
    color: rgba(34, 42, 38, 0.7);
}

.press-section .kicker {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(34, 42, 38, 0.62);
    margin-bottom: 0.75rem;
}

.press-subhead {
    margin: 0;
    max-width: 70ch;
}

.press-section p {
    color: #555555;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    letter-spacing: -0.2px;
    font-weight: 500;
}

.press-logo-strip {
    margin: 0 0 1.75rem;
    padding: 1.15rem 0;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

.press-logo-strip-inner {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.press-logo-strip-inner img {
    display: block;
    max-width: 100%;
    height: auto;
    /* Keep it feeling editorial and modern */
    filter: saturate(0.9) contrast(1.02);
    opacity: 0.9;
}

.press-downloads {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.press-outlet {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #222a26;
    font-size: 0.95rem;
}

.press-year {
    color: rgba(34, 42, 38, 0.55);
    font-weight: 700;
    font-size: 0.9rem;
}

/* PDF cards (2-up) */
.press-pdf-card {
    border: 1px solid #e4e4e4;
    background: #ffffff;
    border-radius: 14px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: start;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
}

.press-pdf-cover {
    display: block;
    width: 120px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.press-pdf-cover:hover {
    border-color: #d7d7d7;
    transform: translateY(-1px);
}

.press-pdf-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.press-pdf-title {
    margin: 0;
    color: #222a26;
    font-size: 1.02rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    font-weight: 650;
}

.press-pdf-actions {
    margin-top: 0.6rem;
}

.press-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(34, 42, 38, 0.70) !important;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-size: 0.75rem;
    text-decoration: none !important;
}

.press-download-link:hover {
    color: rgba(34, 42, 38, 0.95) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    .press-downloads {
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 760px) {
    .press-downloads {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .press-section {
        padding: 4.75rem 0;
    }
    .press-logo-strip { margin-bottom: 1.25rem; }
    .press-pdf-card {
        grid-template-columns: 96px 1fr;
        gap: 0.9rem;
        padding: 0.9rem;
        border-radius: 12px;
    }
    .press-pdf-cover {
        width: 96px;
        border-radius: 10px;
    }
}

/* Navbar CTA */
.navbar .nav-cta:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Mobile sticky CTA bar (Call / Book) */
.mobile-cta-bar {
    display: none;
}

@media (max-width: 900px) {
    .mobile-cta-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0.9rem 1rem;
        background: rgba(255, 255, 255, 0.92);
        border-top: 1px solid #e4e4e4;
        backdrop-filter: blur(10px);
        z-index: 1200;
    }

    body.has-mobile-cta {
        padding-bottom: 88px;
    }
}

.mobile-cta-btn {
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.82rem;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #222a26;
}

.mobile-cta-btn--primary,
.mobile-cta-btn--primary:hover,
.mobile-cta-btn--primary:active,
.mobile-cta-btn--primary:focus {
    background: #222a26;
    border-color: #222a26;
    color: #ffffff !important;
}

.mobile-cta-btn--primary:hover {
    background: #1a221e;
    border-color: #1a221e;
}

.mobile-cta-btn--ghost:hover {
    background: #f5f5f5;
    border-color: #d7d7d7;
}

/* Above-the-fold lead form (Home) */
.lead-form-card {
    border: 1px solid #e4e4e4;
    background: #ffffff;
    padding: 1.25rem;
    max-width: 520px;
    margin-top: 1.25rem;
}

.lead-form-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.2px;
}

.lead-form {
    display: grid;
    gap: 0.75rem;
}

.lead-form .lead-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.lead-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #222a26;
    margin-bottom: 0.35rem;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 0.8rem 0.85rem;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    font-size: 0.98rem;
    outline: none;
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: #222a26;
    box-shadow: 0 0 0 3px rgba(34, 42, 38, 0.08);
}

.lead-form .lead-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.lead-form .lead-actions .btn {
    padding: 0.95rem 1.25rem;
    height: 46px;
    white-space: nowrap;
}

.lead-form .lead-note {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

@media (max-width: 900px) {
    .lead-form-card {
        max-width: 100%;
    }
    .lead-form .lead-row {
        grid-template-columns: 1fr;
    }
}
.project-list-item:hover {
    opacity: 0.8;
}
.project-list-item:last-child {
    border-bottom: 1px solid #e4e4e4;
}

.project-list-image {
    flex: 0 0 40% !important;
    aspect-ratio: 3/2; /* Landscape images to fit layout */
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}
.project-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-list-content {
    flex: 1 !important;
    padding-left: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-date {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    background-color: #f0f0f0;
    padding: 8px 16px;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border: 1px solid #222a26;
    border-radius: 2px;
    background: transparent;
    color: #222a26;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 3rem; /* Space from title */
    transition: all 0.3s ease;
}

.view-project-btn::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222a26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17l9.2-9.2M17 17V7H7'/%3E%3C/svg%3E"); /* Arrow up-right */
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    transition: filter 0.3s ease;
}

.view-project-btn:hover {
    background: #222a26;
    color: white;
}

.view-project-btn:hover::before {
    filter: invert(1); /* Make icon white on hover */
}

.project-tags-vertical {
    display: flex;
    flex-wrap: wrap; /* Wrap to create rows */
    gap: 0.8rem;
    align-content: flex-end;
    max-width: 65%; /* Restrict width to force wrapping next to secondary image */
}

.project-tags-top {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 0 0 1.25rem 0;
}

.tag-gray {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 2px;
    display: inline-block;
    width: fit-content;
}

.project-bottom-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end; /* Align to bottom! */
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.project-bottom-row .view-project-btn {
    margin-top: 0;
}

.project-secondary-image {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.project-secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-list-image {
    position: relative;
    overflow: hidden;
}

.project-list-image img.primary-img {
    display: block;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-list-image img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-list-item:hover .project-list-image img.hover-img {
    opacity: 1;
}

/* Portfolio landing page: mobile = single full-width image, no crop, text below */
@media (max-width: 980px) {
    .portfolio-page #projectsList .project-list-item > div {
        flex-direction: column;
        width: 100%;
    }
    .portfolio-page #projectsList .project-list-image {
        width: calc(100% + 2.5rem);
        max-width: calc(100% + 2.5rem);
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        flex: 0 0 auto;
        aspect-ratio: auto;
        max-height: none;
    }
    .portfolio-page #projectsList .project-list-image img.primary-img {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
        object-position: center top;
    }
    .portfolio-page #projectsList .project-list-image img.hover-img {
        display: none !important;
    }
    .portfolio-page #projectsList .project-secondary-image {
        display: none !important;
    }
    .portfolio-page #projectsList .project-list-content {
        padding-top: 1.5rem;
        padding-left: 0;
    }
    .portfolio-page #projectsList .project-bottom-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .portfolio-page #projectsList .project-list-item {
        padding: 2rem 0;
    }
    .portfolio-page #projectsList .project-list-image {
        width: calc(100% + 2rem);
        max-width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .portfolio-page #projectsList .project-list-content h3 {
        font-size: 1.75rem !important;
    }
}

/* Spaces landing page: mobile = single full-width image, no crop, text below */
@media (max-width: 980px) {
    .spaces-landing-page #spacesList .project-list-item > div {
        flex-direction: column;
        width: 100%;
    }
    .spaces-landing-page #spacesList .project-list-image {
        width: calc(100% + 2.5rem);
        max-width: calc(100% + 2.5rem);
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        flex: 0 0 auto;
        aspect-ratio: auto;
        max-height: none;
    }
    .spaces-landing-page #spacesList .project-list-image img.primary-img {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
        object-position: center top;
    }
    .spaces-landing-page #spacesList .project-list-image img.hover-img {
        display: none !important;
    }
    .spaces-landing-page #spacesList .project-secondary-image {
        display: none !important;
    }
    .spaces-landing-page #spacesList .project-list-content {
        padding-top: 1.5rem;
        padding-left: 0;
    }
    .spaces-landing-page #spacesList .project-bottom-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .spaces-landing-page #spacesList .project-list-item {
        padding: 2rem 0;
    }
    .spaces-landing-page #spacesList .project-list-image {
        width: calc(100% + 2rem);
        max-width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .spaces-landing-page #spacesList .project-list-content h3 {
        font-size: 1.75rem !important;
    }
}

/* Cities We Serve: mobile-only simplified layout (compact header "Cities", no images, list-style cards) */
@media (max-width: 980px) {
    body.cities-we-serve-page .cities-mobile-title {
        display: block !important;
    }
    body.cities-we-serve-page .cities-desktop-title,
    body.cities-we-serve-page .cities-desktop-subtitle {
        display: none !important;
    }
    /* Match Gallery page: same gap between black bar and first content (4rem) */
    body.cities-we-serve-page .cities-regions-section {
        padding-top: 4rem !important;
    }
    body.cities-we-serve-page .project-list-item:first-child .project-list-content {
        padding-top: 0 !important;
    }
    body.cities-we-serve-page .project-list-image {
        display: none !important;
    }
    /* Remove item padding so only content padding defines gap (avoids double spacing + 2-line look) */
    body.cities-we-serve-page .project-list-item {
        padding: 0 !important;
        border-top: none !important;
    }
    body.cities-we-serve-page .project-list-item > div {
        flex-direction: column;
        width: 100%;
    }
    body.cities-we-serve-page .project-list-content {
        width: 100%;
        padding: 0.75rem 0 !important;
        padding-left: 0 !important;
        border-bottom: 1px solid #e4e4e4;
    }
    body.cities-we-serve-page .project-list-item:last-child .project-list-content {
        border-bottom: none;
    }
    body.cities-we-serve-page .project-list-content .project-date {
        display: none;
    }
    body.cities-we-serve-page .project-list-content h3 {
        font-size: 1.75rem !important;
        margin: 0 0 1.25rem 0 !important;
    }
}

/* Home "Our work" section: same as Portfolio page — one image full width, text below */
.project-cards-portfolio-layout .project-list-item {
    flex-direction: column !important;
    align-items: stretch;
}
.project-cards-portfolio-layout .project-list-item > div {
    flex-direction: column !important;
    width: 100%;
}
.project-cards-portfolio-layout .project-list-image {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: auto;
    max-height: none;
    margin-left: 0;
    margin-right: 0;
}
.project-cards-portfolio-layout .project-list-image img.primary-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    object-position: center center;
}
.project-cards-portfolio-layout .project-list-image img.hover-img {
    display: none !important;
}
.project-cards-portfolio-layout .project-secondary-image {
    display: none !important;
}
.project-cards-portfolio-layout .project-list-content {
    padding-left: 0 !important;
    padding-top: 1.5rem;
}
.project-cards-portfolio-layout .project-bottom-row {
    flex-wrap: wrap;
}
.project-cards-portfolio-layout .project-list-item.reverse .project-list-image,
.project-cards-portfolio-layout .project-list-item.reverse .project-list-content {
    order: unset;
}
.project-cards-portfolio-layout .project-list-item.reverse .project-list-content {
    padding-right: 0 !important;
}

/* Legacy styles for other pages */
.project-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.project-row.reverse {
    grid-template-columns: 1fr 1.2fr;
}
.project-row.reverse .project-img-wrapper {
    order: 2;
}
.project-img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}
.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-row:hover .project-img-wrapper img {
    transform: scale(1.05);
}
.project-content-alt {
    padding: 2rem 0;
}
.project-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}
.project-title-alt {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.view-btn-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: var(--color-secondary);
}

/* Reviews - Social Proof */
.reviews-minimal {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
}
.review-quote {
    font-family: var(--font-display);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--color-secondary);
}
.review-author {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

/* Mega Footer */
.footer-mega {
    background-color: var(--color-bg-dark);
    color: white;
    padding: var(--spacing-xl) 0 4rem;
}
.footer-cta-title {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 2rem;
    color: white !important;
    line-height: 1.1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4rem;
}
.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links li {
    list-style: none;
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover { color: white; }
.footer-contact p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

/* Sticky Contact Button */
.sticky-consultation-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--color-secondary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.sticky-consultation-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.scroll-fade-in.delay-1 { transition-delay: 0.15s; }
.scroll-fade-in.delay-2 { transition-delay: 0.3s; }
.scroll-fade-in.delay-3 { transition-delay: 0.45s; }

/* Horizontal slide animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale-on-scroll for images */
.scale-in-image {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.scale-in-image.visible {
    opacity: 1;
    transform: scale(1);
}

.parallax-image {
    overflow: hidden;
    will-change: transform;
}

.parallax-image img {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Hover zoom effect */
.hover-zoom-image {
    overflow: hidden;
    cursor: pointer;
}

.hover-zoom-image img {
    transition: transform 0.6s ease-out;
}

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

/* Video tile play overlay (Fox Hills Videos) */
.video-tile .image-container {
    position: relative;
}

.video-tile .video-thumb-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    position: relative;
}

.video-tile .video-thumb-frame img,
.video-tile .video-thumb-frame video {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover !important;
    background: #000;
}

.video-tile .video-thumb-frame video {
    object-fit: contain !important;
}

.video-tile .video-play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.video-tile .video-play-overlay[data-state="hidden"] {
    display: none;
}

.video-tile .video-play-overlay__circle {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
    display: grid;
    place-items: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: transform 0.18s ease, background 0.18s ease;
}

.video-tile .video-play-overlay:hover .video-play-overlay__circle {
    transform: scale(1.04);
    background: rgba(0, 0, 0, 0.45);
}

.video-tile .video-play-overlay__icon {
    width: 28px;
    height: 28px;
    fill: #fff;
    transform: translateX(1px);
}

/* Video lightbox modal */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: auto;
}

.video-modal {
    /* Reduce playback lightbox size by ~25% */
    width: min(450px, 92vw);
    height: min(32vh, 308px);
    position: relative;
    display: grid;
    place-items: center;
}

.video-modal video {
    /* Use max constraints so portrait videos never crop/clamp */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    background: #000;
    object-fit: contain;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1;
    z-index: 2;
    pointer-events: auto;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.72);
}

body.modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 980px) {
    .navbar .logo-img { filter: none; height: 100px; width: auto; }
    /* Override inline styles so mobile overlay works (inline display:flex would otherwise win) */
    .nav-menu {
        display: grid !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        grid-template-columns: 50% 50%;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        padding-top: 5rem;
        background: #ffffff;
        z-index: 1000;
        gap: 0 !important;
        align-items: stretch !important;
        overflow: hidden !important;
    }
    .nav-menu::before {
        content: '';
        grid-column: 1;
        grid-row: 1 / -1;
        background: #ffffff;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
        overflow-y: hidden;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu > * {
        grid-column: 1;
        z-index: 1;
        overflow-y: hidden !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
        flex-direction: column;
        gap: 6px;
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
        background: #ffffff;
        border: none;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }
    .mobile-menu-toggle:active {
        background: #f0f0f0;
    }
    .mobile-menu-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background: #222a26;
        pointer-events: none;
    }
    .navbar.scrolled .mobile-menu-toggle span { background: #222a26; }
    
    /* Mobile menu: white panel, black text (clear and readable), touch-friendly */
    .nav-menu .nav-link {
        color: #222a26 !important;
        font-size: 1.05rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        min-height: 48px;
        padding: 1rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
        user-select: none;
        -webkit-user-select: none;
    }
    .nav-menu .nav-link:hover {
        background: #f8f8f8;
        color: #222a26 !important;
    }
    .nav-menu .nav-link:active {
        background: #eee;
    }
    .nav-menu .nav-cta {
        color: #ffffff !important;
        background: #222a26 !important;
        border-color: #222a26 !important;
        min-height: 48px;
        margin: 1rem 1.5rem 0;
        padding: 1rem 1.5rem;
        box-sizing: border-box;
        font-weight: 700;
        justify-content: center;
        border-radius: 999px;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
        user-select: none;
        -webkit-user-select: none;
    }
    .nav-menu .nav-cta:active {
        background: #1a1a1a !important;
    }
    
    /* Mobile dropdown: left column = main items; right column = active dropdown only */
    .nav-dropdown {
        width: 100%;
        text-align: left;
    }
    .nav-dropdown-content {
        display: none !important;
        position: static;
        flex-direction: column;
        background: #ffffff;
        box-shadow: none;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    .nav-dropdown.active .nav-dropdown-content {
        display: block !important;
        position: fixed !important;
        left: 50% !important;
        right: 0 !important;
        top: 151px !important;
        width: 50% !important;
        height: calc(100vh - 151px) !important;
        max-height: calc(100vh - 151px) !important;
        min-height: 0;
        margin: 0 !important;
        padding: 1rem 1rem 6rem 1.25rem !important;
        background: #ffffff !important;
        border-left: 1px solid #e4e4e4;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        z-index: 1001;
        box-sizing: border-box;
    }
    .nav-menu .nav-dropdown-content a {
        color: #222a26 !important;
        font-size: 0.95rem;
        font-weight: 500;
        min-height: 44px;
        padding: 0.6rem 1.25rem !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        border-bottom: 1px solid #eee;
        background: #fafafa !important;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
        user-select: none;
        -webkit-user-select: none;
    }
    .nav-menu .nav-dropdown.active .nav-dropdown-content a {
        background: #fff !important;
    }
    .nav-menu .nav-dropdown-content a:hover {
        background: #f0f0f0 !important;
        color: #222a26 !important;
    }
    .nav-menu .nav-dropdown-content a:active {
        background: #eee !important;
    }
    
    .sticky-grid { grid-template-columns: 1fr; gap: 3rem; }
    .sticky-content { position: static; }
    
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .project-list-item {
        flex-direction: column;
    }
    .project-list-image {
        flex: 0 0 auto;
        width: 100%;
    }
    .project-list-content {
        padding-left: 0;
        padding-top: 2rem;
        min-height: auto;
    }
    
    .services-dark-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .project-row, .project-row.reverse { grid-template-columns: 1fr; gap: 2rem; }
    .project-row.reverse .project-img-wrapper { order: 0; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-cta-title { font-size: 3rem; }
    
    .hero-title-mega { font-size: 3.5rem; }
    .hero-cta-group { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    
    /* Project/spaces pages: tighter spacing on small screens */
    section[style*="padding: 3rem 0"][style*="background: #1a1a1a"],
    section[style*="padding: 3rem 0"][style*="background-color: #1a1a1a"] {
        padding: 1.25rem 0 !important;
    }
    div.first-row-text[style*="padding: 2.5rem"] {
        padding: 1.5rem 1rem !important;
    }
    
    /* Touch-friendly primary actions */
    .btn, .btn-primary, .btn-outline, .btn-outline-white, .site-cta-button, a[class*="btn"], .view-project-btn {
        min-height: 44px;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Forms: prevent zoom on focus (iOS); comfortable tap for buttons only */
    input:not([type="submit"]):not([type="button"]), select, textarea {
        font-size: 16px !important;
        box-sizing: border-box;
    }
    input[type="submit"], button[type="submit"] {
        min-height: 44px;
    }
    textarea {
        min-height: 100px;
    }
}

/* -----------------------------
   Blog (Journal) layout (2026)
   ----------------------------- */
body.invero-blog .journal-hero {
    padding: clamp(4.25rem, 6.2vw, 6.75rem) 0 clamp(2.25rem, 3.4vw, 3.25rem);
}

body.invero-blog .journal-hero .container {
    max-width: 1240px;
}

body.invero-blog .journal-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(34, 42, 38, 0.75);
    margin-bottom: 1rem;
}

body.invero-blog .journal-title {
    margin: 0;
    letter-spacing: -0.045em;
    /* Editorial scale to match Invero blog */
    font-size: clamp(3.25rem, 6.35vw, 5.4rem);
    line-height: 1.02;
    max-width: 34ch;
}

body.invero-blog .journal-subtitle {
    margin: 0;
    max-width: 68ch;
    color: var(--color-text-light);
}

body.invero-blog .journal-grid-section {
    padding: clamp(1.25rem, 2.6vw, 2.5rem) 0 clamp(4.75rem, 6.25vw, 7rem);
}

body.invero-blog .journal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.4vw, 2.25rem);
}

body.invero-blog .journal-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: var(--transition);
    min-height: 100%;
}

body.invero-blog .journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

body.invero-blog .journal-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-alt);
}

body.invero-blog .journal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

body.invero-blog .journal-card:hover .journal-media img {
    transform: scale(1.03);
}

body.invero-blog .journal-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.75rem 1.75rem 2rem;
}

body.invero-blog .journal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(34, 42, 38, 0.7);
}

body.invero-blog .journal-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--color-primary);
    display: inline-block;
}

body.invero-blog .journal-card h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

body.invero-blog .journal-excerpt {
    margin: 0;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

body.invero-blog .journal-readmore {
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

body.invero-blog .journal-readmore span[aria-hidden="true"] {
    transition: var(--transition);
}

body.invero-blog .journal-card:hover .journal-readmore span[aria-hidden="true"] {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    body.invero-blog .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.invero-blog .journal-hero {
        padding-top: clamp(4rem, 8vw, 5.25rem);
    }
    body.invero-blog .journal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    body.invero-blog .journal-body {
        padding: 1.25rem 1.25rem 1.5rem;
    }
    body.invero-blog .journal-title {
        line-height: 1.04;
    }
}

/* Blog post detail pages */
body.invero-blog .post-shell {
    padding: 0 0 var(--spacing-xl);
}

body.invero-blog .post-shell .container {
    max-width: 900px;
}

body.invero-blog .post-meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: rgba(34, 42, 38, 0.7);
    font-size: 0.95rem;
}

body.invero-blog .post-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(34, 42, 38, 0.35);
    display: inline-block;
    align-self: center;
}

body.invero-blog .post-cover {
    margin-top: 2rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

body.invero-blog .post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.invero-blog .post-cover--contain {
    aspect-ratio: auto;
    overflow: visible;
}

body.invero-blog .post-cover--contain img {
    height: auto;
    object-fit: contain;
}

body.invero-blog .post-content {
    padding: 2.25rem 0 0;
}

body.invero-blog .post-image-caption {
    font-size: 0.8rem;
    color: rgba(34, 42, 38, 0.5);
    letter-spacing: 0.04em;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

body.invero-blog .post-content-img-link {
    display: block;
    text-decoration: none;
}

body.invero-blog .post-content-img-link img {
    display: block;
    width: 100%;
    transition: opacity 0.2s ease;
}

body.invero-blog .post-content-img-link:hover img {
    opacity: 0.88;
}

body.invero-blog .post-content h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    margin: 2.5rem 0 1rem;
}

body.invero-blog .post-content ul {
    padding-left: 1.25rem;
    margin: 0 0 1.25rem 0;
}

body.invero-blog .post-content li {
    margin: 0.4rem 0;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

body.invero-blog .post-backlink {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(34, 42, 38, 0.8);
}

body.invero-blog .post-backlink:hover {
    color: var(--color-secondary);
}

body.invero-blog .post-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(34, 42, 38, 0.72);
    margin-bottom: 1rem;
}

body.invero-blog .post-more {
    padding: var(--spacing-xl) 0 var(--spacing-xl);
}

body.invero-blog .post-more .container {
    max-width: 1200px;
}

body.invero-blog .post-more-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

body.invero-blog .post-more-header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
}

body.invero-blog .post-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(34, 42, 38, 0.8);
    white-space: nowrap;
}

body.invero-blog .post-more-link:hover {
    color: var(--color-secondary);
}

body.invero-blog .journal-grid--related {
    gap: 2rem;
}

body.invero-blog .journal-grid--related .journal-media {
    aspect-ratio: 16 / 9;
}

@media (max-width: 760px) {
    body.invero-blog .post-more-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Mobile "Back to portfolio" button on project pages */
.mobile-back-portfolio {
    display: none;
}

@media (max-width: 900px) {
    .mobile-back-portfolio {
        display: flex;
        justify-content: center;
        padding: 2rem 1.25rem 3rem;
    }

    .mobile-back-portfolio-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 360px;
        height: 50px;
        border-radius: 999px;
        border: 1.5px solid #222a26;
        background: transparent;
        color: #222a26;
        font-family: inherit;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        text-decoration: none;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }

    .mobile-back-portfolio-btn:active {
        background: #222a26;
        color: #fff;
    }
}
