/* ===================================
   Studio Flame - Foster + Partners Style
   =================================== */

/* CSS Variables */
:root {
    --color-bg: #1a1a1a;
    --color-bg-light: #2a2a2a;
    --color-bg-card: #3a3a3a;
    --color-text: #ffffff;
    --color-text-muted: #999999;
    --color-text-secondary: #cccccc;
    --color-accent: #ff3300;
    --color-border: #333333;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --header-height: 60px;
    --sticky-top: var(--header-height);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   Reset & Base
   =================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ===================================
   Header
   =================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: none;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.4s ease;
}

.main-header.hidden {
    transform: translateY(-100%);
}

.main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.6);
}

.header-container {
    max-width: 100%;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    height: 32px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-plus {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.search-btn:hover {
    color: var(--color-text-muted);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 40px;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
}

.menu-toggle:hover span {
    background-color: var(--color-text-muted);
}

/* ===================================
   Slideout Menu
   =================================== */

.slideout-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    pointer-events: none;
}

.slideout-menu.active {
    pointer-events: all;
}

.slideout-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.slideout-menu.active .slideout-overlay {
    opacity: 1;
}

.slideout-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--color-bg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

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

.slideout-header {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
}

.slideout-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.slideout-close:hover {
    color: var(--color-text-muted);
}

.slideout-links {
    flex: 1;
    padding: 40px 24px;
}

.slideout-links li {
    margin-bottom: 24px;
}

.slideout-links a {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.slideout-links a:hover,
.slideout-links a.active {
    color: var(--color-text-muted);
}

.slideout-footer {
    padding: 24px;
    border-top: 1px solid var(--color-border);
}

.slideout-contact {
    margin-bottom: 24px;
}

.slideout-contact p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.slideout-contact a {
    color: var(--color-text-muted);
}

.slideout-contact a:hover {
    color: var(--color-text);
}

.slideout-social {
    display: flex;
    gap: 16px;
}

.slideout-social a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.slideout-social a:hover {
    color: var(--color-text);
}

/* ===================================
   Hero Slider
   =================================== */

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.15) 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 600px;
    z-index: 1;
}

.slide-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.slide-title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.slider-controls {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--color-text);
}






.scroll-arrow {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all var(--transition-fast);
    background-color: rgba(255, 255, 255, 0.05);
}

.scroll-arrow svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.scroll-arrow:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
}

.scroll-arrow:hover svg {
    opacity: 1;
}

/* ===================================
   Sections
   =================================== */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--color-text);
}

.section-studio,
.section-expertise {
    height: 100vh;
    padding: 32px 0;
    box-sizing: border-box;
}

.section-architecture {
    padding: 32px 0;
    box-sizing: border-box;
}

/* ===================================
   Studio Grid
   =================================== */

.studio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: calc(100vh - 64px - 70px);
}

.studio-card {
    position: relative;
    overflow: hidden;
}

.studio-card.large {
    grid-column: span 2;
}

.studio-card.wide {
    grid-column: span 2;
}

.card-link {
    display: block;
    position: relative;
    height: 100%;
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-slow);
}

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

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.card-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    z-index: 2;
}

/* Quote Card */
.studio-card.quote-card,
.arch-card.quote-card,
.expertise-card.quote-card {
    background-color: var(--color-bg-light);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-card.quote-card blockquote,
.arch-card.quote-card blockquote,
.expertise-card.quote-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.studio-card.quote-card cite,
.arch-card.quote-card cite,
.expertise-card.quote-card cite {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    color: var(--color-text);
}

/* ===================================
   Architecture Grid
   =================================== */

.architecture-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    height: 320px;
}

.arch-card {
    position: relative;
    overflow: hidden;
}

/* ===================================
   Expertise Grid
   =================================== */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: calc(100vh - 64px - 70px);
}

.expertise-card {
    position: relative;
    overflow: hidden;
}

.expertise-card.large {
    grid-column: span 2;
}

.expertise-card .card-image {
    height: 100%;
}

/* ===================================
   Footer
   =================================== */

.main-footer {
    background-color: #1a1a1a;
    border-top: 1px solid var(--color-border);
    padding: 48px 0 32px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 32px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
    background-color: #444;
    color: var(--color-text);
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.back-to-top:hover {
    color: var(--color-text-secondary);
}

.footer-middle {
    margin-bottom: 32px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.footer-legal-link {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--color-text);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .studio-grid,
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .studio-card.large,
    .expertise-card.large {
        grid-column: span 2;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-right {
        width: 100%;
        justify-content: space-between;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 16px 32px;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 20px;
    }

    .section-studio,
    .section-architecture,
    .section-expertise {
        height: auto;
        padding: 40px 0;
    }

    .studio-grid,
    .architecture-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .card-image {
        height: 200px;
    }

    .studio-card.large,
    .studio-card.wide,
    .expertise-card.large {
        grid-column: span 1;
    }

    .studio-card.quote-card,
    .arch-card.quote-card {
        min-height: 180px;
        padding: 32px 24px;
    }

    .slide-content {
        left: 20px;
        right: 80px;
        bottom: 100px;
    }

    .slider-controls {
        bottom: 32px;
    }

    .scroll-arrow {
        right: 16px;
        width: 36px;
        height: 60px;
        border-radius: 18px;
    }

    .scroll-arrow svg {
        width: 16px;
        height: 16px;
    }

    .slideout-nav {
        max-width: 100%;
    }

    .footer-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

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

    .back-to-top {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.hidden {
    display: none !important;
}

body.menu-open {
    overflow: hidden;
}

/* ===================================
   Page Header (for other pages)
   =================================== */

.page-header {
    padding: calc(var(--header-height) + 80px) 0 60px;
    background-color: var(--color-bg);
}

.page-header .section-container {
    max-width: 800px;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text);
}

.page-intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===================================
   Content Sections (for other pages)
   =================================== */

.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background-color: var(--color-bg-light);
}

/* ===================================
   Grid Layouts (for other pages)
   =================================== */

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

.project-card {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

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

.project-info {
    padding: 20px;
}

.project-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.project-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

.project-location {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.project-title {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-text);
}

.project-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===================================
   Team Grid (for people page)
   =================================== */

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

.team-member {
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.member-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--transition-base);
}

.team-member:hover .member-image img {
    filter: grayscale(0%);
}

.member-info {
    padding: 24px;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 4px;
    color: var(--color-text);
}

.member-title {
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===================================
   Contact Page - Redesigned Style
   =================================== */

.contact-cards-section {
    padding: 80px 0;
    background-color: #ffffff; /* Pure white */
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card-new {
    background-color: #f2f2f2;
    padding: 32px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-icon-new {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-card-new h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.2;
    max-width: 140px;
}

.card-details-new p {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 4px;
}

.card-details-new .phone-number-new {
    color: #1a1a1a;
    font-weight: 600;
    margin-top: 8px;
    display: block;
    text-decoration: none;
}

.contact-form-section-new {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-layout-new {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-info-new {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 32px;
}

.info-section-new {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 24px;
}

.info-section-new:last-child {
    border-bottom: none;
}

.info-title-new {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 16px;
    font-weight: 500;
}

.info-detail-new {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.info-detail-new a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-detail-new a:hover {
    color: var(--color-accent);
}

.social-links-vertical-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links-vertical-new a {
    font-size: 0.9375rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: lowercase;
}

.social-links-vertical-new a:hover {
    color: var(--color-accent);
}

/* Restored Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.form-group label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 0;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: #ffffff;
}

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

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
}

.btn-primary.btn-full {
    width: 100%;
}

@media (max-width: 1024px) {
    .contact-layout-new {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Light Mode Delineated Contact Section */
.contact-form-section-new {
    background-color: #f6f6f6; /* Soft grey for delineation */
    color: #1a1a1a;
    padding: 120px 0;
    border-top: 1px solid #eeeeee;
}

.form-heading-new {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
    font-weight: 300;
    color: #1a1a1a;
    text-transform: lowercase;
    line-height: 1.1;
}

.contact-info-new {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 32px;
}

.info-section-new {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 24px;
}

.info-section-new:last-child {
    border-bottom: none;
}

.info-title-new {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 16px;
    font-weight: 500;
}

.info-detail-new {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.info-detail-new a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-detail-new a:hover {
    color: var(--color-accent);
}

.social-links-vertical-new a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: lowercase;
}

.social-links-vertical-new a:hover {
    color: var(--color-accent);
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    color: #1a1a1a;
    padding: 20px;
    border-radius: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: #ffffff;
}

.checkbox-label {
    color: #666666;
    font-size: 0.875rem;
}

.btn-primary {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 24px 48px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card-new {
        min-height: auto;
    }
}



/* ===================================
   Stats Section (for impact page)
   =================================== */

.stats-section {
    background-color: var(--color-accent);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Press Grid (for press page)
   =================================== */

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.press-item {
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.press-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.press-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.press-item:hover .press-image img {
    transform: scale(1.05);
}

.press-info {
    padding: 24px;
}

.press-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.press-title {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-text);
}

.press-excerpt {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.press-link {
    font-size: 0.875rem;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.press-link:hover {
    color: var(--color-text);
}

/* ===================================
   Animations
   =================================== */

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ===================================
   Main Navigation (for subpages)
   =================================== */

/* Main Navigation removed in favor of .main-header */

/* ===================================
   Container Wide
   =================================== */

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===================================
   Page Work Styles
   =================================== */

.page-work {
    padding-top: var(--header-height);
}

.page-work .page-header {
    padding: 80px 0 60px;
    background-color: var(--color-bg);
}

.header-content {
    max-width: 800px;
}

.header-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
}

/* ===================================
   Project Filters
   =================================== */

.project-filters {
    padding: 24px 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: var(--sticky-top);
    transition: top var(--transition-base);
    z-index: 100;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    background-color: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--color-text-secondary);
    color: var(--color-text);
}

.filter-btn.active {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

/* ===================================
   Projects Grid (Masonry)
   =================================== */

.projects-grid {
    padding: 60px 0;
}

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

.project-item {
    background-color: var(--color-bg-light);
    overflow: hidden;
    transition: transform var(--transition-base);
}

.project-item:hover {
    transform: translateY(-4px);
}

.project-link {
    display: block;
}

.project-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-cta {
    font-size: 0.875rem;
    color: var(--color-text);
}

.project-info {
    padding: 24px;
}

.project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.project-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

.project-location {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-text);
}

.project-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===================================
   Reveal Image Animation
   =================================== */

.reveal-image {
    position: relative;
    overflow: hidden;
}

/* ===================================
   Lightbox Modal
   =================================== */

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--color-bg);
    padding: 48px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-text);
}

.lightbox-header {
    margin-bottom: 32px;
}

.lightbox-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-text);
}

.lightbox-meta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

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

.lightbox-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.lightbox-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Differentiation Section
   =================================== */

.differentiation {
    padding: 100px 0;
}

.diff-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.diff-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.diff-item {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.diff-item:last-child {
    border-bottom: none;
}

.diff-title {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-text);
}

.diff-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.diff-image img {
    width: 100%;
    height: auto;
}

/* ===================================
   Principles Section
   =================================== */

.principles {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

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

.principle-item {
    padding: 32px;
    background-color: var(--color-bg);
}

.principle-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.principle-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--color-text);
}

.principle-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===================================
   Expertise Cards (for expertise page)
   =================================== */

.expertise-section {
    padding: 100px 0;
}

.expertise-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.expertise-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.expertise-item-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.expertise-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expertise-item-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise-item-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text);
}

.expertise-item-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===================================
   Clients Grid (for clientele page)
   =================================== */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.client-item {
    background-color: var(--color-bg-light);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
}

.client-item img {
    max-width: 80%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile Nav Toggle overrides removed to use global .menu-toggle */

/* ===================================
   Responsive - Subpages
   =================================== */

@media (max-width: 1024px) {
    .grid-masonry {
        grid-template-columns: 1fr;
    }

    .diff-layout {
        grid-template-columns: 1fr;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-items {
        grid-template-columns: 1fr;
    }

    .expertise-item {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .main-header .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 32px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

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

    .nav-menu li a {
        font-size: 1.25rem;
    }

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-container {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .lightbox-content {
        padding: 24px;
    }

    .lightbox-title {
        font-size: 1.5rem;
    }
}

/* ===================================
   New Work Page - Foster + Partners Style
   =================================== */

.page-work-new {
    padding-top: 0;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Projects Header removed */

/* Filter Bar */
.filter-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: var(--sticky-top);
    transition: top var(--transition-base);
    z-index: 100;
}

/* Filter Bar Transitions handled by --sticky-top in script.js */

.filter-controls {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 0 0 280px;
}

.search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-family: inherit;
    background-color: #fafafa;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: #ffffff;
}

.search-box input::placeholder {
    color: #999999;
}

.filter-dropdowns {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.filter-select {
    padding: 10px 32px 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-family: inherit;
    background-color: #fafafa;
    color: #1a1a1a;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all var(--transition-fast);
}

.filter-select:hover {
    border-color: #1a1a1a;
    background-color: #ffffff;
}

.filter-select:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: #ffffff;
}

.sort-controls {
    display: flex;
    gap: 0;
    margin-left: auto;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
}

.sort-btn {
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-family: inherit;
    background-color: #fafafa;
    color: #666666;
    border: none;
    border-right: 1px solid #d0d0d0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sort-btn:last-child {
    border-right: none;
}

.sort-btn:hover {
    background-color: #f0f0f0;
    color: #1a1a1a;
}

.sort-btn.active {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Projects Grid */
.projects-grid-new {
    padding: 48px 0 80px;
}

.grid-projects {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Project Item */
.project-item {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: block; /* Ensure it's block for transition */
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.project-item .project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.project-item .project-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}

.project-item .project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-item .project-info {
    padding: 24px;
    position: relative;
    background-color: #ffffff;
}

.project-item .project-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    text-transform: lowercase;
}

.project-item .project-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8125rem;
    color: #666666;
    margin-bottom: 12px;
    text-transform: lowercase;
}

.project-item .project-description {
    font-size: 0.875rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    display: block;
}

/* Filtering classes */
.project-item.is-filtering {
    pointer-events: none;
}

.project-item.is-hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    position: absolute;
    visibility: hidden;
    z-index: -1;
}

/* Container Wide */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 82px;
}

/* Responsive Design for New Work Page */
@media (max-width: 1024px) {
    .grid-projects {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .filter-controls {
        flex-wrap: wrap;
    }

    .search-box {
        flex: 1 1 100%;
    }

    .filter-dropdowns {
        flex: 1 1 100%;
    }

    .sort-controls {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .projects-header-content {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .filter-controls {
        padding: 0 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        flex: 1 1 auto;
    }

    .filter-dropdowns {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }

    .sort-controls {
        width: 100%;
    }

    .sort-btn {
        flex: 1;
    }

    .grid-projects {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .project-card .card-content {
        padding: 16px 20px 20px;
    }

    .project-card .card-arrow {
        right: 20px;
        bottom: 20px;
    }
}
/* ===================================
   New Expertise Page - Foster + Partners Style
   =================================== */

.page-expertise-new {
    background-color: #ffffff;
}

/* Expertise Hero */
.expertise-hero {
    position: relative;
    height: calc(70vh - 15px);
    min-height: 465px;
    width: 100%;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, transparent 100%);
}

.hero-text-container {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
}

.hero-expertise-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.hero-expertise-title {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Expertise Grid */
.expertise-grid-new {
    padding: 40px 0;
}

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

.expertise-card {
    /* background-color: #f8f8f8; */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    border: 1px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    /* border-color: #eee; */
}

.expertise-link {
    display: block;
    text-decoration: none;
}

.expertise-image {
    width: 100%;
    height: 370px;
    overflow: hidden;
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.expertise-card:hover .expertise-image img {
    transform: scale(1.04);
}

.expertise-content {
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
}

.expertise-name {
    font-size: 1.35rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.01em;
}

.expertise-arrow {
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.expertise-card:hover .expertise-arrow {
    background-color: #1a1a1a;
    color: #ffffff;
    transform: translateX(5px);
}

/* CTA New */
.cta-section-new {
    padding: 120px 0;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.cta-section-new .cta-title {
    font-size: 2.75rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.cta-section-new .cta-text {
    font-size: 1.25rem;
    color: #666666;
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .expertise-image {
        height: 320px;
    }
}

@media (max-width: 1024px) {
    .grid-expertise {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .expertise-grid-new {
        padding: 60px 0;
    }

    .grid-expertise {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-text-container {
        left: 24px;
        bottom: 48px;
    }

    .hero-expertise-title {
        font-size: 2.75rem;
    }

    .expertise-image {
        height: 280px;
    }

    .expertise-content {
        padding: 18px 30px;
    }

    .cta-section-new {
        padding: 80px 0;
    }

    .cta-section-new .cta-title {
        font-size: 2rem;
    }
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .main-header,
    .slideout-menu,
    .hero-slider,
    .main-footer {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }
}

/* ===================================
   New Press Page - Redesigned Style
   =================================== */

.page-press-new {
    background-color: #ffffff;
    min-height: 100vh;
}

.press-filters-new {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 24px 0;
    position: sticky;
    top: var(--sticky-top);
    transition: top var(--transition-base);
    z-index: 100;
}

.filter-controls-new {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box-new {
    flex: 1;
}

.search-box-new input {
    width: 100%;
    padding: 12px 24px;
    background-color: #f2f2f2;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
}

.search-box-new input:focus {
    outline: none;
    background-color: #ededed;
}

.filter-dropdowns-new {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-select-new {
    padding: 12px 40px 12px 20px;
    background-color: #f2f2f2;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333333' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.sort-indicator-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    border-left: 1px solid #eee;
    margin-left: 8px;
}

.press-grid-new {
    padding: 60px 0;
}

.grid-press-new {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.press-item-new {
    display: flex;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #f5f5f5;
    align-items: flex-start;
}

.press-item-new:last-child {
    border-bottom: none;
}

.press-image-new {
    flex: 0 0 320px;
    height: 220px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.press-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.press-item-new:hover .press-image-new img {
    transform: scale(1.03);
}

.press-content-new {
    flex: 1;
}

.press-title-new {
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.press-meta-new {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 16px;
}

.press-read-time-new {
    color: #999;
}

.press-summary-new {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.btn-read-article {
    display: inline-block;
    padding: 10px 24px;
    background-color: #e5e5e5;
    color: #333;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-read-article:hover {
    background-color: #d8d8d8;
}

@media (max-width: 900px) {
    .press-item-new {
        flex-direction: column;
        gap: 24px;
    }
    
    .press-image-new {
        flex: 0 0 auto;
        width: 100%;
        height: 280px;
    }
    
    .press-title-new {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .filter-controls-new {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-dropdowns-new {
        justify-content: space-between;
    }
    
    .sort-indicator-new {
        border-left: none;
        margin-left: 0;
    }
}



/* ===================================
   Generic Premium Section Styles
   =================================== */

.section-premium {
    padding: 80px 0;
    background-color: #ffffff;
    color: #1a1a1a;
}

.section-premium.alt {
    background-color: #f6f6f6;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.section-premium .section-title-new {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.section-premium .section-subtitle-new {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
    font-weight: 600;
}

/* Image Full Width Premium */
.image-full-premium {
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 120px;
}

.image-full-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pillar Cards (used in Approach and Impact) */
.pillars-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.pillar-card-new {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pillar-number-new {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pillar-content-new h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.pillar-content-new p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #666;
}

@media (max-width: 768px) {
    .pillars-grid-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-premium {
        padding: 60px 0;
    }
}

/* Columns Layout for Approach/Impact */
.columns-layout-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.large-text-premium {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.normal-text-premium {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
}

/* Differentiation/Process Layout */
.diff-layout-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.detailed-items-new {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-item-new h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.detail-item-new p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #666;
}

.diff-image-new img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .columns-layout-new, .diff-layout-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Logos Grid */
.logos-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.logo-item-new {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.logo-item-new:hover {
    color: #1a1a1a;
    border-bottom-color: var(--color-accent);
    transform: translateY(-2px);
}

.text-center-premium {
    text-align: center;
}

@media (max-width: 1024px) {
    .logos-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .logos-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Team Grid New */
.team-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member-new {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.member-image-new {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: #f0f0f0;
}

.member-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-member-new:hover .member-image-new img {
    transform: scale(1.05);
}

.member-name-new {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    text-transform: lowercase;
    margin-bottom: 2px;
}

.member-title-new {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.member-bio-new {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #666;
}

/* Stats Grid New */
.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 60px;
}

.stat-item-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number-new {
    font-size: 3.5rem;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1;
}

.stat-label-new {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

@media (max-width: 1200px) {
    .team-grid-new {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .team-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .team-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-number-new {
        font-size: 2.75rem;
    }
}

@media (max-width: 480px) {
    .team-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Awards List New */
.awards-list-new {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 40px;
}

.award-item-new {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    align-items: baseline;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.award-item-new:last-child {
    border-bottom: none;
}

.award-year-new {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-accent);
}

.award-info-new h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: lowercase;
}

.award-info-new p {
    font-size: 1.0625rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .award-item-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===================================
   Feature Cards (Screenshot Style)
   =================================== */

.feature-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card-new {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    border: 1px solid #eeeeee;
}

.feature-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card-new:hover .feature-card-image img {
    transform: scale(1.05);
}

.feature-card-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.feature-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 24px;
}

.feature-card-btn {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: #e0e0e0;
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.feature-card-btn:hover {
    background-color: #d0d0d0;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .feature-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Light Page Headers for New Layouts */
.page-approach-new .page-header,
.page-impact-new .page-header,
.page-people-new .page-header,
.page-clientele-new .page-header,
.page-work-new .page-header {
    background-color: #ffffff;
    padding-top: calc(var(--header-height) + 120px);
    padding-bottom: 40px;
}

.page-approach-new .page-title,
.page-impact-new .page-title,
.page-people-new .page-title,
.page-clientele-new .page-title,
.page-work-new .page-title {
    color: #1a1a1a;
    font-weight: 300;
}

.page-approach-new .page-intro,
.page-impact-new .page-intro,
.page-people-new .page-intro,
.page-clientele-new .page-intro,
.page-work-new .page-intro {
    color: #666;
    max-width: 800px;
}

.page-approach-new .header-label,
.page-impact-new .header-label,
.page-people-new .header-label,
.page-clientele-new .header-label,
.page-work-new .header-label {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

/* Ensure all premium sections have dark text */
.section-premium, .section-premium.alt {
    color: #1a1a1a !important;
}

.section-premium .section-title-new, 
.section-premium.alt .section-title-new {
    color: #1a1a1a !important;
}

/* Dark Header Elements for Light Pages */
.page-approach-new .main-header,
.page-impact-new .main-header,
.page-people-new .main-header,
.page-clientele-new .main-header,
.page-work-new .main-header {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid #eeeeee !important;
    backdrop-filter: blur(10px);
}

.page-approach-new .main-header .logo,
.page-impact-new .main-header .logo,
.page-people-new .main-header .logo,
.page-clientele-new .main-header .logo,
.page-work-new .main-header .logo {
    color: #1a1a1a !important;
}

.page-approach-new .main-header .search-btn svg,
.page-impact-new .main-header .search-btn svg,
.page-people-new .main-header .search-btn svg,
.page-clientele-new .main-header .search-btn svg,
.page-work-new .main-header .search-btn svg {
    color: #1a1a1a !important;
}

.page-approach-new .main-header .menu-toggle span,
.page-impact-new .main-header .menu-toggle span,
.page-people-new .main-header .menu-toggle span,
.page-clientele-new .main-header .menu-toggle span,
.page-work-new .main-header .menu-toggle span {
    background-color: #1a1a1a !important;
}

/* Page Header with Image Background */
.page-header.has-image {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: flex-end;
    background-color: #000;
    padding-top: var(--header-height);
    padding-bottom: 60px;
    overflow: hidden;
}

.page-header.has-image .header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header.has-image .header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.page-header.has-image .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.page-header.has-image .container-wide {
    position: relative;
    z-index: 3;
    margin: 0;
    max-width: none;
}

.page-header.has-image .header-content {
    max-width: 800px;
}

.page-header.has-image .header-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent) !important;
    margin-bottom: 16px;
    display: block;
}

.page-header.has-image .page-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff !important;
    margin-bottom: 16px;
    text-transform: lowercase;
}

.page-header.has-image .page-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.7;
    max-width: 800px;
}

/* Reset main header for pages with image headers */
.has-image-header .main-header {
    background-color: rgba(0, 0, 0, 0.15) !important;
    border-bottom: none !important;
}

.has-image-header .main-header .logo,
.has-image-header .main-header .search-btn svg {
    color: #ffffff !important;
}

.has-image-header .main-header .menu-toggle span {
    background-color: #ffffff !important;
}

.has-image-header .main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/* Service Category Cards for Clientele Page */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 3;
    color: #ffffff;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: capitalize;
}

.service-card-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    max-width: 90%;
}

.service-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease;
}

.service-card:hover .service-card-arrow {
    gap: 12px;
}

.service-card-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

@media (max-width: 900px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        height: 350px;
    }
    
    .service-card-content {
        padding: 24px;
    }
    
    .service-card-title {
        font-size: 1.25rem;
    }
}

/* Client Cards (Screenshot Style) */
.client-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.client-card {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.client-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.client-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

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

.client-card-body {
    padding: 30px;
    background: #f9f9f9;
    flex-grow: 1;
}

.client-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.client-card-arrow {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.client-card:hover .client-card-arrow {
    transform: translateX(3px);
}

.client-card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .client-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .client-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* People List Section Styles */
.people-list-section {
    padding-bottom: 120px;
}

.people-category {
    margin-bottom: 80px;
}

.people-category:last-child {
    margin-bottom: 0;
}

.category-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    text-transform: lowercase;
    margin-bottom: 8px;
}

.category-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.people-names-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.person-name-item {
    font-size: 1.125rem;
    color: #333333;
    text-transform: capitalize;
}

@media (max-width: 900px) {
    .people-names-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .people-names-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
