/* ==========================================================================
   GREEN ROOM PARTNERS — Main Stylesheet v2

   Design: Clean, professional real estate development aesthetic
   Inspired by: The Beach Company
   Typography: Cormorant Garamond (headings) + Inter (body)

   Table of Contents:
   1. CSS Custom Properties
   2. Reset & Base
   3. Typography
   4. Layout & Container
   5. Header & Navigation
   6. Hero Section (with Parallax)
   7. Metrics Bar
   8. Sections & Content
   9. Split Layout
   10. Approach Masonry Grid
   11. Property Logo Marquee
   12. Project Cards, Grid & Filter Tabs
   13. Parallax Divider
   14. Single Project
   15. Team Cards & Grid
   16. Contact Page & Forms
   17. CTA Banner
   18. Footer
   19. Buttons
   20. Utilities
   21. Animations
   22. Responsive
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Colors */
    --color-dark:           #1B2D3A;
    --color-dark-rgb:       27, 45, 58;
    --color-green:          #45bd51;
    --color-green-rgb:      69, 189, 81;
    --color-green-light:    #E8F7EA;
    --color-green-dark:     #3aa346;
    --color-sand:           #f5f5f5;
    --color-blue-gray:      #abb8c3;
    --color-blue-gray-light: #D5DDE3;
    --color-slate:          #E5ECF0;
    --color-white:          #FFFFFF;
    --color-off-white:      #F8F9FA;
    --color-gray-100:       #F3F4F6;
    --color-gray-200:       #E5E7EB;
    --color-gray-300:       #D1D5DB;
    --color-gray-500:       #6B7280;
    --color-gray-700:       #374151;
    --color-text:           #2C2C2C;
    --color-text-light:     #666666;
    --color-text-muted:     #8A8A8A;
    --color-border:         #E2E2E2;

    /* Typography */
    --font-heading:         'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Sizes */
    --text-xs:              0.75rem;
    --text-sm:              0.875rem;
    --text-base:            1rem;
    --text-lg:              1.125rem;
    --text-xl:              1.25rem;
    --text-2xl:             1.5rem;
    --text-3xl:             1.875rem;
    --text-4xl:             2.25rem;
    --text-5xl:             3rem;
    --text-6xl:             3.75rem;

    /* Spacing */
    --space-xs:             0.5rem;
    --space-sm:             1rem;
    --space-md:             1.5rem;
    --space-lg:             2rem;
    --space-xl:             3rem;
    --space-2xl:            4rem;
    --space-3xl:            6rem;
    --space-4xl:            8rem;

    /* Layout */
    --container-max:        1200px;
    --container-narrow:     800px;
    --container-padding:    1.5rem;
    --header-height:        80px;

    /* Effects */
    --shadow-sm:            0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md:            0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg:            0 10px 30px rgba(0, 0, 0, 0.12);
    --radius-sm:            4px;
    --radius-md:            6px;
    --transition:           0.3s ease;
    --transition-slow:      0.5s ease;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Justified body text — excludes hero, graphics, and CTA elements */
.section__text,
.entry-content p,
.project-row__description,
.team-member__bio p,
.news-card__excerpt,
.press-body p,
.press-about p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-align-last: left;
}

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

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

a:hover {
    color: var(--color-text-light);
}

ul, ol {
    list-style: none;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.entry-content h2 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.entry-content h3 { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.entry-content p  { margin-bottom: var(--space-md); }
.entry-content ul,
.entry-content ol { margin-bottom: var(--space-md); padding-left: var(--space-lg); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: var(--space-xs); }


/* ==========================================================================
   4. LAYOUT & CONTAINER
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.content-narrow {
    max-width: var(--container-narrow);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.section__label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.section__heading {
    margin-bottom: var(--space-lg);
}

.section__text {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: var(--space-lg);
}

.section__text--centered {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-2xl);
}

.section__cta {
    text-align: center;
    margin-top: var(--space-2xl);
}


/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-branding .custom-logo-link img,
.site-branding .custom-logo {
    max-height: 50px;
    width: auto;
}

.site-logo {
    max-height: 56px;
    width: auto;
    display: block;
}

.site-title-link {
    display: flex;
    align-items: baseline;
    gap: 0.35em;
    text-decoration: none;
}

.site-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}

.site-title-accent {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-green);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-green);
    transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--color-dark);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
    width: 100%;
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    min-width: 200px;
    padding: var(--space-xs) 0;
    flex-direction: column;
    gap: 0;
}

.nav-menu li:hover > .sub-menu {
    display: flex;
}

.nav-menu .sub-menu a {
    padding: 0.6rem var(--space-md);
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--text-sm);
    display: block;
}

.nav-menu .sub-menu a::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-main {
    padding-top: var(--header-height);
}


/* ==========================================================================
   6. HERO SECTION (with Parallax)
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero--full {
    min-height: 100vh;
}

.hero--standard {
    min-height: 65vh;
}

.hero--standard .hero__subtitle::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-green);
    margin: var(--space-md) auto 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(var(--color-dark-rgb), 0.15) 0%,
        rgba(var(--color-dark-rgb), 0.42) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--space-2xl) var(--container-padding);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-sm);
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-md);
    text-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 2px 28px rgba(0,0,0,0.3);
}

.hero__description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto var(--space-xl);
}

.hero__cta {
    margin-top: var(--space-sm);
}

/* Scroll indicator — downward arrow */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    animation: gentleBounce 2.5s ease-in-out infinite;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero__scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-indicator svg {
    display: block;
    width: 18px;
    height: 18px;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* Hero — Elevated Variant (left-aligned, bold) */
.hero--elevated {
    align-items: flex-end;
}

.hero--elevated .hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(var(--color-dark-rgb), 0.1) 0%,
        rgba(var(--color-dark-rgb), 0) 35%,
        rgba(var(--color-dark-rgb), 0.65) 100%
    );
}

.hero--elevated .hero__content {
    max-width: var(--container-max);
    text-align: left;
    padding-bottom: var(--space-4xl);
    padding-top: 30vh;
}

.hero--elevated .hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease 0.3s forwards;
}

.hero__accent-line {
    width: 60px;
    height: 3px;
    background: var(--color-green);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: heroFadeIn 0.6s ease 0.5s forwards;
}

.hero--elevated .hero__subtitle {
    font-size: var(--text-lg);
    font-weight: 300;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeIn 0.7s ease 0.6s forwards;
}

.hero--elevated .hero__cta {
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeIn 0.6s ease 0.85s forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   7. METRICS BAR
   ========================================================================== */

.metrics {
    background: var(--color-dark);
    padding: var(--space-2xl) 0;
}

.metrics .container {
    max-width: 1320px;
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.metrics__item {
    padding: var(--space-sm);
    position: relative;
}

.metrics__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.metrics__number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.metrics__label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    letter-spacing: 0.02em;
}


/* ==========================================================================
   8. SECTIONS & CONTENT
   ========================================================================== */

/* Philosophy / tagline band */
.philosophy-band {
    background: #243E4D;
    padding: var(--space-xl) 0;
    text-align: center;
}

.philosophy-band__text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.01em;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-band__accent {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-green);
    margin: 0 auto var(--space-md);
}

/* Leadership teaser (homepage) */
.leadership-glance {
    background: var(--color-off-white);
    text-align: center;
}

.leadership-glance__grid {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-xl);
}

.leadership-glance__item {
    text-align: center;
}

.leadership-glance__photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    filter: grayscale(20%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.leadership-glance__item:hover .leadership-glance__photo {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.leadership-glance__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.15rem;
}

.leadership-glance__role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

.section--about-preview {
    background: var(--color-sand);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-top: 2px solid var(--color-green);
}

.section--about-preview .split-layout {
    grid-template-columns: 1fr 1.2fr;
}

.section--about-preview .split-layout__content {
    padding-right: 0;
}

.section--about-preview .section__heading {
    font-size: var(--text-3xl);
}

.section--about-preview .section__text {
    font-size: var(--text-base);
}

.section--approach {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section--projects {
    background: var(--color-white);
    border-top: 2px solid var(--color-green);
    padding-top: calc(var(--space-3xl) + 0.5rem);
}

.section--geography {
    background: var(--color-white);
}

.section--geography-projects {
    background: var(--color-off-white);
}

/* Disable parallax on map image — keep flat */
.section--geography .split-layout__img {
    will-change: auto;
}

/* Color flow sections */
.section--contact {
    background: var(--color-white);
}

.section--team-intro {
    background: var(--color-sand);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-top: 2px solid var(--color-green);
    border-bottom: 1px solid var(--color-border);
}

.section--intro-band {
    background: var(--color-sand);
    border-top: 2px solid var(--color-green);
}

.section--overview {
    background: var(--color-sand);
    border-top: 2px solid var(--color-green);
}

.section--cta {
    background: var(--color-sand);
    padding: var(--space-3xl) 0;
    position: relative;
}

.section--cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--color-green);
}

.section--project-snapshot {
    background: var(--color-white);
    padding-top: 0;
    padding-bottom: var(--space-md);
}

.section--project-gallery {
    background: var(--color-white);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.section--team-grid {
    background: var(--color-white);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
}


/* ==========================================================================
   9. SPLIT LAYOUT
   ========================================================================== */

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.split-layout--reverse {
    direction: rtl;
}

.split-layout--reverse > * {
    direction: ltr;
}

.split-layout__content {
    padding-right: var(--space-lg);
}

.split-layout--reverse .split-layout__content {
    padding-right: 0;
    padding-left: var(--space-lg);
}

.split-layout__content .btn {
    margin-top: var(--space-md);
}

.split-layout__image {
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.split-layout__image img {
    max-width: 100%;
}

.split-layout__img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    will-change: transform;
}

.split-layout__img--map {
    height: auto;
    max-height: 440px;
    object-fit: contain;
    transform: none !important;
}


.split-layout__map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--color-gray-200);
    border-radius: var(--radius-sm);
}

/* Metrics 2x2 Grid (in split layout) */
.split-layout__metrics {
    display: flex;
    align-items: center;
}

.metrics-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    width: 100%;
    justify-items: stretch;
}

.metrics-grid-2x2__item {
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px;
    border-radius: var(--radius-md);
}

.metrics-grid-2x2__item:nth-child(1) {
    background: #1B2D3A;
}

.metrics-grid-2x2__item:nth-child(2) {
    background: #243E4D;
}

.metrics-grid-2x2__item:nth-child(3) {
    background: #2C4F62;
}

.metrics-grid-2x2__item:nth-child(4) {
    background: #1f3948;
}

.metrics-grid-2x2__number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.metrics-grid-2x2__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-wrap: balance;
}

/* Platform Capabilities (Home) */
.section__label--light {
    color: var(--color-green);
}

.section__heading--light {
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.01em;
}


/* ==========================================================================
   10. APPROACH — Quiet Numbered Steps
   ========================================================================== */

/* Approach — Split layout with scroll-driven timeline */
.approach-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.approach-split__text {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.approach-split__text .section__text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.approach-timeline {
    position: relative;
    padding-left: 1.75rem;
}

.approach-timeline__bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-border);
}

.approach-timeline__fill {
    width: 100%;
    height: 0;
    background: var(--color-green);
}

.approach-timeline__item {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.approach-timeline__item:last-child {
    border-bottom: none;
}

.approach-timeline__item.is-active {
    opacity: 1;
}

.approach-timeline__number {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-style: italic;
    font-weight: 400;
    color: var(--color-text-muted);
}

.approach-timeline__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

/* Dark variant — for use inside approach-strip (about page) */
.approach-split--dark .approach-split__text {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.approach-timeline__bar--dark {
    background: rgba(255, 255, 255, 0.12);
}

.approach-timeline__item--dark {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.approach-timeline__number--dark {
    color: rgba(255, 255, 255, 0.4);
}

.approach-timeline__title--dark {
    color: var(--color-white);
}

.approach-timeline__desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0.3rem 0 0;
}

/* About page — dark approach strip */
.approach-strip {
    background: var(--color-dark);
    padding: var(--space-2xl) 0;
}

.approach-strip__header {
    margin-bottom: var(--space-xl);
}

.approach-strip__label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

.approach-strip__heading {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.2;
}

.approach-strip__phases {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    align-items: stretch;
}

.approach-strip__phase {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg) var(--space-lg) 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.approach-strip__phase:last-child {
    border-right: none;
    padding-right: 0;
}

.approach-strip__number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-green);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.approach-strip__title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.3rem;
    line-height: 1.25;
    min-height: 1.25em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.approach-strip__desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ==========================================================================
   11. PROPERTY LOGO MARQUEE
   ========================================================================== */

.marquee-section {
    background: var(--color-dark);
    padding: var(--space-md) 0 var(--space-xl);
    overflow: hidden;
}

.marquee-section__label {
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-md);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 55s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--space-2xl);
    white-space: nowrap;
    position: relative;
    gap: 0.15rem;
    text-decoration: none;
    color: inherit;
}

a.marquee-item:hover .marquee-item__name {
    color: var(--color-white);
}

.marquee-item::after {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.marquee-item__name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.marquee-item:hover .marquee-item__name {
    color: var(--color-white);
}

.marquee-item__location {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-left: 0;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ==========================================================================
   12. PROJECT CARDS, GRID & FILTER TABS
   ========================================================================== */

/* Filter Tabs */
.project-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-tab {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 0.6rem 1.25rem;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
}

.filter-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-green);
    transition: width var(--transition);
}

.filter-tab:hover {
    color: var(--color-text);
}

.filter-tab.active {
    color: var(--color-dark);
}

.filter-tab.active::after {
    width: 100%;
}

.location-select {
    margin-left: var(--space-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-dark);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    padding: 0.6rem 2.2rem 0.6rem 1rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color var(--transition);
    letter-spacing: 0.03em;
}

.location-select:hover {
    border-color: var(--color-gray-300);
}

.location-select:focus {
    outline: none;
    border-color: var(--color-green);
}

/* Project Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

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

.project-card {
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card.filtering-out {
    opacity: 0;
    transform: scale(0.95);
}

.project-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-gray-100);
}

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

.project-card__link:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-dark-rgb), 0);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--space-lg);
    transition: background 0.4s ease;
}

.project-card__view {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

.project-card__link:hover .project-card__overlay {
    background: rgba(var(--color-dark-rgb), 0.45);
}

.project-card__link:hover .project-card__view {
    opacity: 1;
    transform: translateY(0);
}

.project-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.project-card__info {
    padding: var(--space-md) 0 var(--space-xs);
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.2rem;
}

.project-card__location {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: 0.1rem;
}

.project-card__type {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Featured project — large single card */
.project-card--featured {
    grid-column: 1 / -1;
}

.project-card--featured .project-card__image {
    aspect-ratio: 21 / 9;
}

.project-card--featured .project-card__title {
    font-size: var(--text-3xl);
}


/* ==========================================================================
   PROJECT LIST — Beach Company style (image left, text right)
   ========================================================================== */

.project-list {
    display: flex;
    flex-direction: column;
}

.project-row {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-row:first-child {
    padding-top: 0;
}

.project-row:last-child {
    border-bottom: none;
}

.project-row.filtering-out {
    opacity: 0;
    transform: scale(0.97);
}

.project-row__image {
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4 / 3;
}

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

.project-row:hover .project-row__img {
    transform: scale(1.04);
}

.project-row__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.project-row__content {
    padding: var(--space-sm) 0;
}

.project-row__category {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.project-row__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.project-row__location {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-md);
}

.project-row__description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.project-row__stats {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.project-row__stat {
    display: flex;
    flex-direction: column;
}

.project-row__stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.2;
}

.project-row__stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ==========================================================================
   13. PARALLAX DIVIDER
   ========================================================================== */

.parallax-divider {
    position: relative;
    height: 55vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-divider__overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-dark-rgb), 0.38);
}

.parallax-divider__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: var(--space-lg) var(--container-padding);
}

.parallax-divider__quote {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.parallax-divider__source {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   14. SINGLE PROJECT
   ========================================================================== */

.project-meta-bar {
    background: var(--color-dark);
    padding: var(--space-sm) 0;
}

.project-meta-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.project-meta-bar__type,
.project-meta-bar__status {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-meta-bar__type::after {
    content: '|';
    margin-left: var(--space-lg);
    opacity: 0.4;
}

@media (max-width: 640px) {
    .project-meta-bar__inner {
        flex-direction: column;
        gap: 0.35rem;
    }

    .project-meta-bar__type::after {
        content: '';
        margin-left: 0;
    }

    .project-meta-bar__type,
    .project-meta-bar__status {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }
}

/* Project Overview — Split with Visit Button (Jasper-style) */
.project-overview-split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: start;
}

.project-overview-split .entry-content {
    max-width: 650px;
}

.project-overview-split .btn {
    white-space: nowrap;
    margin-top: 0.25rem;
}

/* Project Detail — Overview Module */
.section--project-overview {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-sm);
}

/* Tighten metadata section that follows overview */
.section--project-overview + .section--project-overview {
    padding-top: 0;
    padding-bottom: var(--space-lg);
}

.project-detail-header {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: var(--space-md);
    align-items: start;
    padding-bottom: 0;
    max-width: 820px;
    margin: 0 auto;
}

.project-detail-header .entry-content {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text-light);
}

.project-detail-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    padding-top: 1.9rem;
    padding-left: var(--space-md);
    border-left: 1px solid var(--color-border);
}

.project-detail-location {
    text-align: left;
}

.project-detail-location__label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
}

.project-detail-location__value {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-dark);
}

/* Project Details — Metadata Row */
.project-details-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0;
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xs);
}

.project-details-row__item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: var(--space-xs) var(--space-sm) var(--space-xs) var(--space-sm);
    border-right: 1px solid var(--color-border);
}

.project-details-row__item:first-child {
    padding-left: 0;
}

.project-details-row__item:last-child {
    border-right: none;
}

.project-details-row__label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.project-details-row__value {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-dark);
    font-weight: 500;
    margin-top: 0.1rem;
    white-space: nowrap;
}

/* Snapshot Grid (project detail stats) */
.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0;
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xs);
}

.snapshot-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: var(--space-xs) var(--space-md) var(--space-xs) 0;
    border-right: 1px solid var(--color-border);
}

.snapshot-item:last-child {
    border-right: none;
}

.snapshot-item__value {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.3;
}

.snapshot-item__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Project Image Mosaic (Jasper-style) */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.project-gallery--single {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.project-gallery__item:first-child:nth-last-child(3),
.project-gallery__item:first-child:nth-last-child(3) ~ .project-gallery__item:nth-child(2) {
    grid-column: span 1;
}

.project-gallery__item:first-child:nth-last-child(3) ~ .project-gallery__item:nth-child(3) {
    grid-column: 1 / -1;
}

.project-gallery__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Full-width bottom image matches width of the grid */
.project-gallery__item:last-child:nth-child(3) .project-gallery__img {
    height: 340px;
}

/* Project CTA */
.project-cta {
    background: var(--color-sand);
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
}

.project-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--color-green);
}

.project-cta__heading {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.project-cta__text {
    font-size: var(--text-base);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.project-cta .btn {
    margin: 0 var(--space-xs);
}

.project-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.project-nav__link {
    text-decoration: none;
}

.project-nav__label {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.project-nav__title {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-dark);
    transition: color var(--transition);
}

.project-nav__link:hover .project-nav__title {
    color: var(--color-text-light);
}

.project-nav__next {
    text-align: right;
}


/* ==========================================================================
   15. TEAM CARDS & GRID
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.team-card {
    text-align: center;
}

.team-card__photo {
    margin-bottom: var(--space-md);
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
}

.team-card__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--color-dark-rgb), 0.15), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.team-card:hover .team-card__photo::after {
    opacity: 1;
}

.team-card__img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card__img {
    transform: scale(1.03);
}

.team-card__placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    border-radius: var(--radius-sm);
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.15rem;
}

.team-card__title {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xs);
}

.team-card__bio {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.6;
}

.team-card__bio p {
    margin-bottom: var(--space-xs);
}

.team-card__links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.team-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.team-card__link:hover {
    color: var(--color-white);
    border-color: var(--color-dark);
    background: var(--color-dark);
}

/* Team Member — Staggered Layout */
.team-members {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

/* Team divider band — dark quote between leadership and team */
.team-divider {
    background: var(--color-dark);
    padding: var(--space-2xl) 0;
    text-align: center;
    margin: var(--space-xl) 0;
}

.team-divider__text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    line-height: 1.5;
}

.team-divider__label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: var(--space-sm);
}

.team-members .container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.team-grid-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.team-member {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    align-items: start;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--color-white);
    border-bottom: none;
    margin-right: 3rem;
    position: relative;
}

/* Thin accent divider between members */
.team-member + .team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-xl);
    right: var(--space-xl);
    height: 1px;
    background: linear-gradient(90deg, var(--color-green), var(--color-border) 30%, transparent 100%);
}

/* Stagger — alternate photo left/right + horizontal offset */
.team-member:nth-child(even) {
    grid-template-columns: 1fr 280px;
    background: var(--color-white);
    margin-right: 0;
    margin-left: 3rem;
}

.team-member:nth-child(even) .team-member__photo {
    order: 2;
}

.team-member:nth-child(even) .team-member__info {
    order: 1;
}

.team-member:last-child {
    border-bottom: none;
}

.team-member__photo {
    position: relative;
    overflow: visible;
}

/* Offset decorative box behind photo */
.team-member__photo::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: -12px;
    bottom: -12px;
    background: var(--color-dark);
    opacity: 0.07;
    z-index: 0;
}

.team-member:nth-child(even) .team-member__photo::after {
    left: -12px;
    right: 16px;
}

.team-member__photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    display: block;
    position: relative;
    z-index: 1;
}

.team-member__info {
    padding-top: var(--space-xs);
}

.team-member__accent {
    width: 30px;
    height: 2px;
    background: var(--color-green);
    margin-bottom: var(--space-sm);
}

.team-member__name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.team-member__title {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.team-member__title-inline {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.team-member__title-inline::before {
    content: '|\00a0';
    opacity: 0.3;
    color: var(--color-text-muted);
}

.team-member__bio {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 700px;
    position: relative;
    max-height: 14em;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.team-member__bio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3em;
    background: linear-gradient(transparent, var(--color-white));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.team-member__bio.is-expanded {
    max-height: 60em;
}

.team-member__bio.is-expanded::after {
    opacity: 0;
}

.team-member__bio p {
    margin-bottom: var(--space-xs);
}

.team-member__bio p:last-child {
    margin-bottom: 0;
}

.bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-dark);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.bio-toggle:hover {
    color: var(--color-dark);
}

.bio-toggle__arrow {
    display: inline-block;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.bio-toggle.is-open .bio-toggle__arrow {
    transform: rotate(180deg);
}

/* Team Associates Grid (smaller cards below partners) */
.section--team-associates {
    background: var(--color-white);
}

.section--team-associates .section__heading {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.team-associates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

/* Team CTA */
.team-cta {
    text-align: center;
    padding: var(--space-3xl) var(--container-padding);
    background: var(--color-sand);
}

.team-cta__heading {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.team-cta__text {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}


/* ==========================================================================
   16. CONTACT PAGE & FORMS
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-intro {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail__label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-detail__value {
    font-size: var(--text-base);
    color: var(--color-text);
    font-style: normal;
    line-height: 1.6;
}

.contact-detail__link {
    color: var(--color-dark);
    display: block;
}

.contact-detail__link:hover {
    color: var(--color-text-light);
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-body);
    font-size: var(--text-base);
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(var(--color-green-rgb), 0.1);
}

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

.form-submit {
    align-self: flex-start;
}


/* ==========================================================================
   16b. PROJECT ROW LINKS
   ========================================================================== */

.project-row__title-link {
    color: var(--color-dark);
    text-decoration: none;
    transition: color var(--transition);
}

.project-row__title-link:hover {
    color: var(--color-text-light);
}

.project-row__image a {
    display: block;
}


/* ==========================================================================
   16c. PLACEHOLDER HERO (for projects without images)
   ========================================================================== */

.hero--placeholder {
    background: linear-gradient(135deg, var(--color-dark) 0%, #2a4a5e 50%, var(--color-dark) 100%);
}


/* ==========================================================================
   16d. PROJECT NAVIGATION (detail pages)
   ========================================================================== */

.section--project-nav {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-off-white);
}

.project-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.project-nav__link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: var(--space-xs) 0;
}

.project-nav__prev {
    text-align: left;
}

.project-nav__next {
    text-align: right;
    margin-left: auto;
}

.project-nav__label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.project-nav__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-dark);
    transition: color var(--transition);
}

.project-nav__link:hover .project-nav__title {
    color: var(--color-text-light);
}


/* ==========================================================================
   16e. LINKEDIN CARD (Contact Page)
   ========================================================================== */

.section--linkedin {
    background: var(--color-off-white);
    padding: var(--space-3xl) 0;
}

.linkedin-card {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.linkedin-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A66C2;
    color: var(--color-white);
    border-radius: var(--radius-sm);
}

.linkedin-card__content {
    flex: 1;
}

.linkedin-card__heading {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.linkedin-card__text {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.linkedin-card__btn {
    flex-shrink: 0;
    white-space: nowrap;
}


/* ==========================================================================
   17. CTA BANNER
   ========================================================================== */

.cta-banner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner__heading {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.cta-banner__text {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}


/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    border-top: 3px solid var(--color-green);
}

.footer-main {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
}

.footer-brand .custom-logo-link img,
.footer-brand .custom-logo {
    max-height: 40px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-logo {
    max-height: 56px;
    width: auto;
    display: block;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-logo-text {
    display: flex;
    align-items: baseline;
    gap: 0.35em;
    margin-bottom: var(--space-md);
    text-decoration: none;
}

.footer-logo-text .site-title {
    color: var(--color-white);
}

.footer-logo-text .site-title-accent {
    color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
    font-size: var(--text-sm);
    line-height: 1.7;
    max-width: 350px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-menu a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-menu a:hover {
    color: var(--color-white);
}

.footer-address {
    font-size: var(--text-sm);
    font-style: normal;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-social {
    margin-top: var(--space-sm);
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.footer-social__link:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.footer-social__link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-link {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: var(--space-md) 0;
}

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

.copyright {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
}

.copyright a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition);
}

.copyright a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-legal a {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   19. BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

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

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

.btn--outline {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

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

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

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



/* ==========================================================================
   20. UTILITIES
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Geography Timeline */
.geography-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: var(--space-xl);
    position: relative;
}

.geography-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gray-200);
}

.geography-timeline__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 0;
}

.geography-timeline__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-green);
    border: 2px solid var(--color-white);
    box-shadow: 0 0 0 2px var(--color-green);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.geography-timeline__label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-light);
    margin-top: var(--space-md);
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.3;
    padding-bottom: var(--space-xs);
}

/* Geography Projects Grid */
.geography-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

.geography-projects__card {
    width: calc(33.333% - var(--space-lg) * 2 / 3);
    display: block;
    text-decoration: none;
    color: inherit;
}


.geography-projects__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--color-gray-100);
    border-radius: var(--radius-sm);
}

.geography-projects__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.geography-projects__card:hover .geography-projects__img {
    transform: scale(1.04);
    filter: saturate(1);
}

.geography-projects__label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-light);
    margin-top: var(--space-xs);
    letter-spacing: 0.02em;
}

.geography-projects__overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-dark-rgb), 0);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--space-lg);
    transition: background 0.4s ease;
}

.geography-projects__view {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

.geography-projects__card:hover .geography-projects__overlay {
    background: rgba(var(--color-dark-rgb), 0.45);
}

.geography-projects__card:hover .geography-projects__view {
    opacity: 1;
    transform: translateY(0);
}

.geography-projects__image--cta {
    background: var(--color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.geography-projects__cta-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
}

.geography-projects__cta-arrow {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.5);
    transition: transform var(--transition), color var(--transition);
}

.geography-projects__card--cta:hover .geography-projects__cta-text {
    color: var(--color-white);
}

.geography-projects__card--cta:hover .geography-projects__cta-arrow {
    color: var(--color-white);
    transform: translateX(4px);
}


/* Capabilities Pills — flowing tag layout */
.capabilities-pills {
    padding: var(--space-2xl) 0;
    background: var(--color-sand);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.capabilities-pills__rows {
    margin-top: var(--space-lg);
}

.capabilities-pills__row {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
    will-change: transform;
}

.capabilities-pills__row:last-child {
    margin-bottom: 0;
}

.capabilities-pill {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    padding: 1.3rem 1.6rem;
    border: none;
    border-radius: 0;
    white-space: nowrap;
    flex: 1 1 auto;
    text-align: center;
    transition: opacity 0.3s ease;
}

.capabilities-pill:hover {
    opacity: 0.85;
}

.capabilities-pill--filler {
    flex: 0 0 3rem;
    padding: 0;
    min-width: 3rem;
}

.capabilities-pill--t1 { background: #1B2D3A; }
.capabilities-pill--t2 { background: #243E4D; }
.capabilities-pill--t3 { background: #2C4F62; }

@media (max-width: 900px) {
    .capabilities-pills__row {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    /* Disable justify on narrow screens — left-align reads better */
    .section__text,
    .entry-content p,
    .project-row__description,
    .team-member__bio p,
    .news-card__excerpt,
    .press-body p,
    .press-about p {
        text-align: left;
        hyphens: none;
        -webkit-hyphens: none;
        text-align-last: left;
    }

    .capabilities-pills {
        overflow: visible;
    }
    .capabilities-pills__rows {
        padding: 0 var(--container-padding);
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .capabilities-pills__row {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 6px;
        transform: none !important;
    }
    .capabilities-pill--filler {
        display: none;
    }
    .capabilities-pill {
        white-space: normal;
        font-size: var(--text-sm);
        padding: 1.1rem 1.5rem;
        flex: none;
        width: 100%;
        text-align: center;
    }
}

@keyframes caps-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes caps-scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* ==========================================================================
   20b. VISIT WEBSITE BUTTON (pill shape, Beach Co style)
   ========================================================================== */

.btn--pill {
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.btn--visit {
    background: transparent;
    color: var(--color-text-light);
    border-color: var(--color-border);
    border-width: 1px;
    border-radius: 9999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

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

.btn--visit svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   20c. LOGO-INSPIRED ANGULAR ACCENTS
   ========================================================================== */

/* Logo-inspired angular accents reserved for subtle use only */

/* Angular accent — reserved for select areas only */


/* ==========================================================================
   21. ANIMATIONS
   ========================================================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Standard scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Apple-style reveal with subtle scale */
.reveal-scale {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Luxury number reveal — fade + slide up with slight scale */
.metric-reveal {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Directional reveal — slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Directional reveal — slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.61s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--color-green);
    z-index: 10000;
    transition: width 0.05s linear;
    pointer-events: none;
}

/* ---- Body background decorations ---- */


/* Section divider lines — thin animated lines between sections */
.section-divider {
    display: block;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 0 auto;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-divider.visible {
    width: 120px;
}

/* Card hover — image zoom only, no lift */
.project-card {
    transition: none;
}

/* Project row image hover zoom */
.project-row__image {
    overflow: hidden;
}

.project-row__image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-row:hover .project-row__image img {
    transform: scale(1.04);
}

/* Animated accent line on section headings */
.section__heading::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--color-green);
    margin-top: 0.75rem;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.reveal.visible .section__heading::after,
.section__heading.visible::after {
    width: 40px;
}


/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }

    .approach-split {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .approach-split__text,
    .approach-split--dark .approach-split__text {
        position: static;
    }

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

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .team-member {
        grid-template-columns: 240px 1fr;
        margin-right: 3rem;
    }

    .team-member:nth-child(even) {
        grid-template-columns: 1fr 240px;
        margin-left: 3rem;
    }

    .team-associates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

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

    .project-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl:     2rem;
        --text-4xl:     1.75rem;
        --text-3xl:     1.5rem;
        --space-3xl:    4rem;
        --header-height: 70px;
    }

    .capabilities-marquee__track span {
        font-size: var(--text-base);
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: calc(var(--header-height) + var(--space-lg)) var(--space-xl) var(--space-xl);
        transition: right var(--transition);
        overflow-y: auto;
        z-index: 999;
    }

    .main-navigation.is-open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-100);
    }

    .nav-menu a {
        display: block;
        padding: 0.9rem 0;
    }

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

    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        padding-left: var(--space-md);
        display: flex;
        flex-direction: column;
    }

    .split-layout,
    .section--about-preview .split-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .split-layout--reverse {
        direction: ltr;
    }

    .split-layout__content {
        padding-right: 0;
    }

    .split-layout--reverse .split-layout__content {
        padding-left: 0;
    }

    .geography-timeline {
        max-width: 100%;
    }

    .geography-projects__card {
        width: calc(50% - var(--space-lg) / 2);
    }



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

    .project-card--featured .project-card__image {
        aspect-ratio: 16 / 9;
    }

    .project-row {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .project-row__title {
        font-size: var(--text-2xl);
    }

    .approach-strip__phases {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .approach-strip__phase {
        border-right: none;
        padding-right: 0;
    }

    .metrics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .metrics__item:not(:last-child)::after {
        display: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .team-member,
    .team-member:nth-child(even) {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto !important;
    }

    .team-member + .team-member::before {
        left: 0;
        right: 0;
    }

    .team-member:nth-child(even) .team-member__photo,
    .team-member:nth-child(even) .team-member__info {
        order: unset;
    }

    .team-member__photo img {
        aspect-ratio: 4 / 3;
    }

    .team-member__photo::after {
        display: none;
    }

    .team-member__title-inline {
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .team-member__info {
        overflow: hidden;
        max-width: 100%;
    }

    .team-member:nth-child(even) .team-member__photo::after {
        left: -8px;
        right: 10px;
    }

    .team-member__title-inline {
        display: block;
    }

    .team-member__title-inline::before {
        display: none;
    }

    .bio-toggle {
        margin-top: var(--space-lg);
    }

    .team-associates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

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

    .project-overview-split {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .project-detail-header {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .project-detail-sidebar {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
        border-left: none;
        padding-left: 0;
        padding-top: var(--space-sm);
        border-top: 1px solid var(--color-border);
    }

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

    .project-details-row__item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-sm) 0;
    }

    .project-details-row__item:nth-last-child(-n+2) {
        border-bottom: none;
    }

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

    .snapshot-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-sm) 0;
    }

    .snapshot-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }

    .hero--elevated .hero__title {
        font-size: var(--text-3xl);
    }

    .metrics-grid-2x2__item {
        padding: var(--space-lg) var(--space-md);
        min-height: 150px;
    }

    .metrics-grid-2x2__number {
        font-size: var(--text-3xl);
    }

    .linkedin-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl) var(--space-lg);
    }

    .project-nav {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }

    .project-nav__next {
        text-align: left;
        margin-left: 0;
    }

    .hero--full {
        min-height: 85vh;
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .parallax-divider {
        height: 45vh;
    }

    .filter-tab {
        padding: 0.5rem 0.9rem;
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl:     1.75rem;
        --text-4xl:     1.5rem;
        --container-padding: 1.25rem;
    }

    .metrics-grid-2x2 {
        grid-template-columns: 1fr;
    }

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

    .project-details-row,
    .snapshot-grid {
        grid-template-columns: 1fr;
    }

    .project-details-row__item,
    .snapshot-item {
        border-right: none;
    }

    .project-details-row__item:nth-last-child(-n+2),
    .snapshot-item:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--color-border);
    }

    .project-details-row__item:last-child,
    .snapshot-item:last-child {
        border-bottom: none;
    }

    .team-associates-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .approach-timeline__title {
        font-size: var(--text-xl);
    }

    .approach-strip__phases {
        grid-template-columns: 1fr;
    }

    /* Approach timeline: stacked boxes on mobile, green bar retained */
    .approach-timeline {
        padding-left: 1.75rem;
    }

    .approach-timeline__item,
    .approach-timeline__item--dark {
        display: block;
        padding: var(--space-md) var(--space-lg);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-bottom: none;
    }

    .approach-timeline__item:first-of-type {
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    }

    .approach-timeline__item:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px;
    }

    .approach-timeline__number,
    .approach-timeline__number--dark {
        display: inline-block;
        margin-bottom: 0.4rem;
    }

    /* Light variant (homepage) border color */
    .approach-split:not(.approach-split--dark) .approach-timeline__item {
        border-color: var(--color-border);
    }

    .approach-split:not(.approach-split--dark) .approach-timeline__item:last-child {
        border-bottom: 1px solid var(--color-border) !important;
    }

    .geography-projects__card {
        width: 100%;
    }
}

/* WordPress admin bar adjustment */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ===================================================
   NEWS PAGE
   =================================================== */

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(27,45,58,0.1);
}

.news-card {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 340px;
    border-bottom: 1px solid rgba(27,45,58,0.08);
    padding-bottom: 3rem;
    text-decoration: none;
}

.news-card__image {
    overflow: hidden;
    position: relative;
}

.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card__img {
    transform: scale(1.04);
}

.news-card__body {
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card__date {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 0.4rem;
}

.news-card__category {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-dark);
    opacity: 0.45;
    margin-bottom: 1.1rem;
}

.news-card__headline {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-dark);
    margin: 0 0 1.1rem;
}

.news-card__excerpt {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(27,45,58,0.65);
    margin: 0 0 1.75rem;
    max-width: 520px;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--color-green);
    padding-bottom: 2px;
    transition: color 0.2s;
    align-self: flex-start;
}

.news-card__link:hover {
    color: var(--color-green);
}

/* ===================================================
   PRESS RELEASE DETAIL
   =================================================== */

/* Full-width intro band — dark navy background like footer */
.press-intro {
    background: var(--color-dark);
    padding: var(--space-2xl) 0 var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

/* Align intro content width to body column */
.press-intro .container {
    max-width: 860px;
}

.press-intro__back {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.press-intro__back:hover {
    color: rgba(255,255,255,0.8);
}

.press-intro__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.press-intro__date {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-green);
}

.press-intro__category {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.press-intro__headline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-white);
    max-width: 100%;
    margin: 0;
}

/* Article body */
.press-body {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: var(--space-4xl);
}

.press-body__dateline {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(27,45,58,0.5);
    margin-bottom: 2rem;
    font-style: italic;
}

.press-body p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.85;
    color: rgba(27,45,58,0.82);
    margin-bottom: 1.35rem;
}

/* Quote block — Fourthline style: speaker name + quote text */
.press-quote {
    margin: 2.5rem 0;
    padding-left: 1.75rem;
    border-left: 2px solid var(--color-green);
}

.press-quote__speaker {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.press-quote__text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.65;
    color: var(--color-dark);
    margin: 0;
}

/* About / boilerplate section */
.press-about {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(27,45,58,0.1);
}

.press-about__label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(27,45,58,0.4);
    margin-bottom: 0.75rem;
}

.press-about p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(27,45,58,0.6);
    margin-bottom: 1rem;
}

.press-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(27,45,58,0.08);
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(27,45,58,0.45);
    line-height: 1.7;
}

.press-contact a {
    color: rgba(27,45,58,0.6);
    text-decoration: none;
    border-bottom: 1px solid rgba(27,45,58,0.2);
}

@media (max-width: 768px) {
    /* News hero — right-aligned to frame left side of bridge */
    .hero--news {
        background-position: right center !important;
    }


    .news-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto;
    }

    .news-card__image {
        order: -1;
        aspect-ratio: 16/9;
        min-height: 220px;
        width: 100%;
    }

    .news-card__body {
        padding: 2rem 1.75rem;
    }

    .press-intro__headline {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
}

/* Print styles */
@media print {
    .site-header, .menu-toggle, .section--cta, .site-footer,
    .marquee-section, .parallax-divider { display: none; }
    .site-main { padding-top: 0; }
    .hero { min-height: auto; padding: 2rem 0; background: none; }
    .hero__overlay { display: none; }
    .hero__title, .hero__subtitle { color: #000; }
}
