/**
 * BlueJay Properties - Stylesheet
 *
 * FONT NOTE: Using Montserrat from Google Fonts for a modern, premium feel.
 * To change, update the Google Fonts import in HTML and --font-primary variable below.
 *
 * COLOR NOTE: Colors sampled from visual inspection of reference site.
 * Primary brand color appears to be a deep navy/dark blue.
 * Update CSS variables below to match exact brand colors if needed.
 */

/* ==========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================== */
:root {
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: var(--font-primary);

    /* Font Weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Font Sizes - using clamp for responsive scaling (compact) */
    --fs-xs: clamp(0.625rem, 0.6rem + 0.15vw, 0.6875rem);     /* 10-11px */
    --fs-sm: clamp(0.6875rem, 0.65rem + 0.2vw, 0.8125rem);    /* 11-13px */
    --fs-base: clamp(0.8125rem, 0.775rem + 0.2vw, 0.9375rem); /* 13-15px */
    --fs-md: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);     /* 15-17px */
    --fs-lg: clamp(1rem, 0.925rem + 0.4vw, 1.25rem);          /* 16-20px */
    --fs-xl: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);           /* 18-24px */
    --fs-2xl: clamp(1.375rem, 1.15rem + 1vw, 2.125rem);       /* 22-34px */
    --fs-3xl: clamp(1.75rem, 1.35rem + 2vw, 3rem);            /* 28-48px */
    --fs-4xl: clamp(2.25rem, 1.8rem + 2.5vw, 4rem);           /* 36-64px */
    --fs-hero: clamp(2.25rem, 1.8rem + 3vw, 5rem);            /* 36-80px */

    /* Line Heights (compact) */
    --lh-tight: 1.05;
    --lh-snug: 1.2;
    --lh-normal: 1.4;
    --lh-relaxed: 1.5;
    --lh-loose: 1.75;

    /* Letter Spacing */
    --ls-tight: -0.02em;
    --ls-normal: 0;
    --ls-wide: 0.05em;
    --ls-wider: 0.1em;
    --ls-widest: 0.15em;

    /* Colors - Primary Palette */
    --color-primary: #1a2744;          /* Deep navy - primary brand color */
    --color-primary-light: #2a3d5f;    /* Lighter navy */
    --color-primary-dark: #0f1829;     /* Darker navy */
    --color-accent: #4a7c59;           /* Forest green accent */
    --color-accent-light: #5d9b6e;     /* Lighter green */

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Semantic Colors */
    --bg: var(--color-white);
    --bg-alt: var(--color-gray-50);
    --bg-dark: var(--color-primary);
    --surface: var(--color-white);
    --surface-elevated: var(--color-white);
    --text: var(--color-gray-900);
    --text-muted: var(--color-gray-600);
    --text-light: var(--color-gray-400);
    --text-inverse: var(--color-white);
    --border: var(--color-gray-200);
    --border-light: var(--color-gray-100);
    --border-dark: var(--color-gray-300);

    /* Spacing Scale (compact) */
    --space-1: 0.1875rem; /* 3px */
    --space-2: 0.375rem;  /* 6px */
    --space-3: 0.5rem;    /* 8px */
    --space-4: 0.75rem;   /* 12px */
    --space-5: 1rem;      /* 16px */
    --space-6: 1.25rem;   /* 20px */
    --space-8: 1.5rem;    /* 24px */
    --space-10: 2rem;     /* 32px */
    --space-12: 2.5rem;   /* 40px */
    --space-16: 3rem;     /* 48px */
    --space-20: 4rem;     /* 64px */
    --space-24: 5rem;     /* 80px */
    --space-32: 6rem;     /* 96px */

    /* Layout */
    --container-max: 1400px;
    --container-padding: clamp(1rem, 3vw, 2rem);
    --header-height: 80px;
    --header-height-scrolled: 64px;

    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-slower: 600ms ease;

    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-header: 300;
    --z-overlay: 400;
    --z-modal: 500;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open,
body.search-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: var(--z-modal);
    padding: var(--space-3) var(--space-4);
    background: var(--color-primary);
    color: var(--text-inverse);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    transform: translateY(0);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
    color: var(--text);
}

.section-title {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-tight);
    margin-bottom: var(--space-4);
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--text-muted);
}

.section-eyebrow {
    display: block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

/* ==========================================
   BUTTONS & LINKS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-inverse);
    border: 2px solid var(--color-primary);
}

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

.btn-primary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-inverse);
    border-color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--text-inverse);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-inverse);
    border: 2px solid var(--text-inverse);
}

.btn-outline-light:hover {
    background-color: var(--text-inverse);
    color: var(--color-primary);
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    height: var(--header-height);
    background-color: #e3f2fd;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color var(--transition-base),
                height var(--transition-base),
                box-shadow var(--transition-base),
                padding var(--transition-base);
}

@media (prefers-reduced-motion: reduce) {
    .site-header {
        transition: none;
    }
}

.site-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: #d4ebfc;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 4vw, 3rem);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: calc(var(--z-header) + 10);
    flex-shrink: 0;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

@media (prefers-reduced-motion: no-preference) {
    .logo:hover .logo-img {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo:hover .logo-img {
        opacity: 0.85;
    }
}

.logo:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

/* Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

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

.nav-link {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.01em;
    color: var(--color-gray-900);
    position: relative;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: var(--space-4);
    right: var(--space-4);
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

@media (prefers-reduced-motion: reduce) {
    .nav-link::after {
        transition: none;
    }
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Mobile Navigation Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 6px;
    z-index: calc(var(--z-header) + 10);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base);
}

.nav-toggle:hover {
    background-color: var(--color-gray-100);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background-color: var(--color-gray-700);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

@media (prefers-reduced-motion: reduce) {
    .nav-toggle-bar {
        transition: none;
    }
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base),
                opacity var(--transition-base),
                visibility var(--transition-base);
    z-index: var(--z-overlay);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav-overlay {
        transition: opacity 0.01ms, visibility 0.01ms;
    }
}

.mobile-nav-overlay[hidden] {
    display: block;
}

.mobile-nav-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.site-header.scrolled ~ .mobile-nav-overlay,
.site-header.scrolled .mobile-nav-overlay {
    top: var(--header-height-scrolled);
    max-height: calc(100vh - var(--header-height-scrolled));
}

.mobile-nav {
    padding: var(--space-4) 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    display: block;
    padding: var(--space-4) clamp(1.5rem, 4vw, 3rem);
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background-color: var(--color-gray-50);
    color: var(--color-primary);
}

.mobile-nav-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.mobile-nav-link.active {
    color: var(--color-primary);
    background-color: var(--color-gray-50);
}

/* Footer Logo */
.footer-logo-img {
    height: 100px;
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.footer-logo:hover .footer-logo-img {
    opacity: 1;
}

/* ==========================================
   SEARCH OVERLAY
   ========================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background-color: rgba(26, 39, 68, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.search-overlay[hidden] {
    display: flex;
}

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

.search-overlay-inner {
    width: 100%;
    max-width: 600px;
    padding: var(--space-6);
    transform: translateY(20px);
    transition: transform var(--transition-slow);
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    transition: transform var(--transition-base);
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-close svg {
    width: 24px;
    height: 24px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    border-bottom: 2px solid var(--text-inverse);
    padding-bottom: var(--space-3);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: var(--fs-2xl);
    font-weight: var(--fw-light);
    color: var(--text-inverse);
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-submit {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    transition: transform var(--transition-base);
}

.search-submit:hover {
    transform: scale(1.1);
}

.search-submit svg {
    width: 28px;
    height: 28px;
}

/* ==========================================
   HOMEPAGE SCALE ADJUSTMENTS
   ========================================== */
/* Reduced scale for homepage - more compact layout */
.hero,
.hero-headline-section,
.stats-section,
.properties-section,
.about-preview,
.services-section,
.cta-section {
    /* Reduce padding globally on homepage sections */
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        min-height: 60vh;
        max-height: 70vh;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    /* Fallback gradient while images load */
    background: linear-gradient(135deg, #1a2744 0%, #2a3d5f 50%, #4a7c59 100%);
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide.fade-out {
    opacity: 0;
    z-index: 0;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    max-height: 55vh;
    object-fit: cover;
    /* Anchor image to top so the top of the image remains visible when cropped/scaled */
    object-position: top center;
    /* Ensure zoom animation scales from the top, not center */
    transform-origin: top center;
}

@media (min-width: 768px) {
    .hero-slide-img {
        max-height: 65vh;
    }
}

/* Subtle zoom animation on active slide */
.hero-slide.active .hero-slide-img {
    animation: heroSlideZoom 8s ease-out forwards;
}

@keyframes heroSlideZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Carousel Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: var(--space-3);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    border-color: var(--text-inverse);
    background: rgba(255, 255, 255, 0.3);
}

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

/* Reduced motion: disable animations and autoplay indicator */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity 0.1s ease;
    }

    .hero-slide.active .hero-slide-img {
        animation: none;
    }

    /* Hide dots when reduced motion - manual nav only */
    .hero-carousel-dots {
        display: flex; /* Still allow manual navigation */
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 39, 68, 0.1) 0%,
        rgba(26, 39, 68, 0.2) 100%
    );
}

/* ==========================================
   HERO HEADLINE SECTION (below carousel)
   ========================================== */
.hero-headline-section {
    background-color: var(--color-primary);
    padding: var(--space-10) 0;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-headline-section {
        padding: var(--space-12) 0;
    }
}

.hero-headline-section .container {
    max-width: 900px;
}

.hero-headline {
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-tight);
    line-height: var(--lh-tight);
    color: var(--text-inverse);
    margin-bottom: var(--space-6);
}

/* Animated Hero Headline */
.hero-headline--animated {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    opacity: 1;
    transform: none;
    animation: none;
}

.headline-line {
    display: block;
    overflow: hidden;
}

.headline-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: wordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered word animations - Line 1 */
.headline-line--1 .headline-word:nth-child(1) { animation-delay: 0.1s; }
.headline-line--1 .headline-word:nth-child(2) { animation-delay: 0.2s; }
.headline-line--1 .headline-word:nth-child(3) { animation-delay: 0.3s; }

/* Staggered word animations - Line 2 */
.headline-line--2 .headline-word:nth-child(1) { animation-delay: 0.5s; }
.headline-line--2 .headline-word:nth-child(2) { animation-delay: 0.6s; }
.headline-line--2 .headline-word:nth-child(3) { animation-delay: 0.7s; }

/* Word reveal keyframes */
@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add subtle glow effect on final words */
.headline-word:last-child {
    position: relative;
}

.headline-line--1 .headline-word:last-child,
.headline-line--2 .headline-word:last-child {
    animation: wordRevealGlow 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.headline-line--1 .headline-word:last-child { animation-delay: 0.3s; }
.headline-line--2 .headline-word:last-child { animation-delay: 0.7s; }

@keyframes wordRevealGlow {
    0% {
        opacity: 0;
        transform: translateY(100%);
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: none;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .headline-word {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-subheadline {
    font-size: var(--fs-lg);
    font-weight: var(--fw-light);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

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

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    background-color: var(--color-primary);
    padding: var(--space-8) 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    text-align: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .stats-grid {
        gap: var(--space-20);
    }
}

.stat-item {
    padding: var(--space-4) var(--space-8);
    position: relative;
}

/* Add divider between stats */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-6));
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .stat-item:not(:last-child)::after {
        right: calc(-1 * var(--space-10));
    }
}

@media (max-width: 480px) {
    .stat-item:not(:last-child)::after {
        display: none;
    }
}

.stat-number {
    display: block;
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    line-height: 1;
    color: var(--text-inverse);
    margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
    .stat-number {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }
}

.stat-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   PROPERTIES SECTION
   ========================================== */
.properties-section {
    padding: var(--space-12) 0;
    background-color: var(--bg);
}

.properties-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .properties-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.properties-titles {
    flex: 1;
}

.properties-search {
    width: 100%;
    max-width: 400px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.property-search-input {
    width: 100%;
    padding: var(--space-3) var(--space-4) var(--space-3) var(--space-12);
    font-size: var(--fs-base);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.property-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.1);
}

/* Property Tabs */
.properties-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    border-bottom: 2px solid var(--border);
    padding-bottom: var(--space-4);
}

.tab-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    transition: color var(--transition-base);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--space-4) - 2px);
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

/* Properties List */
.properties-list-container {
    min-height: 400px;
}

.properties-panel {
    display: none;
}

.properties-panel.active {
    display: block;
}

.properties-list {
    display: grid;
    gap: 0;
}

.property-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-fast);
}

.property-item:hover {
    background-color: var(--bg-alt);
    margin-inline: calc(-1 * var(--space-4));
    padding-inline: var(--space-4);
}

.property-tenant {
    font-weight: var(--fw-medium);
    color: var(--text);
}

.property-location {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    text-align: right;
}

.properties-footer {
    display: flex;
    justify-content: center;
    padding-top: var(--space-8);
}

.load-more {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.no-results {
    text-align: center;
    padding: var(--space-12) 0;
    color: var(--text-muted);
}

/* ==========================================
   INTERACTIVE US MAP SECTION
   ========================================== */
.properties-section--map {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    padding: var(--space-10) 0 var(--space-12);
}

.properties-header--centered {
    text-align: center;
    align-items: center;
    margin-bottom: var(--space-12);
}

.properties-header--centered .section-eyebrow {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.properties-header--centered .section-title {
    margin-bottom: var(--space-3);
}

.properties-header--centered .section-subtitle {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.properties-map-container {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 1024px) {
    .properties-map-container {
        grid-template-columns: 1.5fr 1fr;
        gap: var(--space-12);
        align-items: start;
    }
}

/* US Map Wrapper */
.us-map-wrapper {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.us-map {
    width: 100%;
    height: auto;
    display: block;
}

.us-map .state-path {
    fill: var(--color-gray-200);
    stroke: var(--surface);
    stroke-width: 1.5;
    cursor: pointer;
    transition: fill 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    transform-origin: center;
}

.us-map .state-path.has-properties {
    fill: var(--color-primary);
}

.us-map .state-path.has-properties:hover {
    fill: var(--color-primary-light);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transform: scale(1.02);
}

.us-map .state-path.has-properties.active {
    fill: var(--color-primary-light);
    filter: drop-shadow(0 4px 12px rgba(26, 39, 68, 0.4));
}

.us-map .state-path:not(.has-properties) {
    cursor: default;
    pointer-events: none;
}

.us-map .state-path:not(.has-properties):hover {
    fill: var(--color-gray-200);
    transform: none;
    filter: none;
}

/* State Labels on Map */
.us-map .state-label {
    font-family: var(--font-primary);
    font-size: 8px;
    font-weight: var(--fw-semibold);
    fill: var(--color-gray-600);
    text-anchor: middle;
    pointer-events: none;
    user-select: none;
}

.us-map .state-label.has-properties {
    fill: var(--text-inverse);
    font-weight: var(--fw-bold);
}

@media (max-width: 768px) {
    .us-map .state-label {
        font-size: 6px;
    }
}

.us-map:hover,
.us-map-wrapper:hover {
    background: var(--surface);
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    background: var(--color-primary);
    color: var(--text-inverse);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -100%) translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--color-primary) transparent transparent;
}

.map-tooltip.visible {
    opacity: 1;
    transform: translate(-50%, -100%) translateY(-16px);
}

.map-tooltip-state {
    display: block;
    font-weight: var(--fw-semibold);
}

.map-tooltip-count {
    display: block;
    font-size: var(--fs-xs);
    opacity: 0.8;
}

/* Properties Preview Panel */
.properties-preview {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    max-height: 500px;
}

.preview-header {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.preview-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--text);
    margin-bottom: var(--space-1);
}

.preview-subtitle {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.preview-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.preview-item {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-light);
    opacity: 0;
    transform: translateX(20px);
    animation: slideInItem 0.4s ease forwards;
}

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

/* Staggered animation for preview items */
.preview-item:nth-child(1) { animation-delay: 0.05s; }
.preview-item:nth-child(2) { animation-delay: 0.1s; }
.preview-item:nth-child(3) { animation-delay: 0.15s; }
.preview-item:nth-child(4) { animation-delay: 0.2s; }
.preview-item:nth-child(5) { animation-delay: 0.25s; }
.preview-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes slideInItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.preview-item-tenant {
    display: block;
    font-weight: var(--fw-medium);
    color: var(--text);
    margin-bottom: var(--space-1);
}

.preview-item-address {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.preview-item-state {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-accent);
    background: rgba(74, 124, 89, 0.1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    margin-top: var(--space-2);
}

.preview-footer {
    padding-top: var(--space-4);
    margin-top: auto;
}

.see-all-btn {
    width: 100%;
    justify-content: center;
}

/* Map Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot--active {
    background: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.2);
}

.legend-dot--inactive {
    background: var(--color-gray-200);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.legend-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .preview-item {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .map-tooltip {
        transition: opacity 0.1s ease;
    }
}

/* ==========================================
   LOGO SLIDER SECTION - Tenant logos ticker
   ========================================== */
.logo-slider-section {
    /* Section height doubled */
    padding: var(--space-8) 0;
    background-color: var(--color-gray-50);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.logo-slider-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--space-3);
}

.logo-slider-wrapper {
    /* Full width for seamless scroll effect */
    width: 100%;
    overflow: hidden;
    /* Fade edges for polished look */
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.logo-slider-track {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    width: max-content;
    /* Animation set by JS based on content width for consistent speed */
    animation: logoSliderScroll var(--logo-slider-duration, 30s) linear infinite;
}

/* Pause on hover (desktop) */
.logo-slider-wrapper:hover .logo-slider-track {
    animation-play-state: paused;
}

.logo-slider-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* Logo height doubled */
}

.logo-slider-item img {
    max-height: 100px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity var(--transition-base);
}

.logo-slider-item img:hover {
    opacity: 0.8;
}

/* Infinite scroll animation - scrolls left by half (the original set width) */
@keyframes logoSliderScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Translate by exactly half (original content width) for seamless loop */
        transform: translateX(calc(-50%));
    }
}

/* Reduced motion: stop animation, allow manual horizontal scroll */
@media (prefers-reduced-motion: reduce) {
    .logo-slider-track {
        animation: none;
    }

    .logo-slider-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

/* Mobile: slightly smaller logos and tighter spacing */
@media (max-width: 767px) {
    .logo-slider-section {
        padding: var(--space-6) 0;
    }

    .logo-slider-item {
        height: 80px;
    }

    .logo-slider-item img {
        max-height: 80px;
        max-width: 200px;
    }

    .logo-slider-track {
        gap: var(--space-8);
    }
}

/* ==========================================
   ABOUT PREVIEW SECTION
   ========================================== */
.about-preview {
    padding: var(--space-12) 0;
    background-color: var(--bg-alt);
}

.about-preview-grid {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 768px) {
    .about-preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.about-preview-content {
    order: 2;
}

@media (min-width: 768px) {
    .about-preview-content {
        order: 1;
    }
}

.about-preview-text {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.about-preview-image {
    order: 1;
}

@media (min-width: 768px) {
    .about-preview-image {
        order: 2;
    }
}

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

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: var(--space-12) 0;
    background-color: var(--bg);
}

.services-section .section-title {
    margin-bottom: var(--space-8);
}

.services-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
        max-width: 900px;
        margin-inline: auto;
    }
}

/* Single service card layout */
.services-grid--single {
    max-width: 500px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .services-grid--single {
        grid-template-columns: 1fr;
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-8);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base),
                box-shadow var(--transition-base),
                transform var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-4);
    color: var(--color-primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2);
}

.service-desc {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    margin-top: auto;
}

.btn-arrow-sm {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.service-card:hover .btn-arrow-sm {
    transform: translateX(4px);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    position: relative;
    padding: var(--space-16) 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-image {
    position: absolute;
    inset: 0;
    /* Placeholder gradient - replace with actual image */
    background: linear-gradient(135deg, #2a3d5f 0%, #1a2744 100%);
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 39, 68, 0.9);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
}

.cta-title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
}

.cta-text {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background-color: #e3f2fd;
    color: var(--text);
    padding: var(--space-6) 0;
}

.footer-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
}

.footer-content-centered .footer-logo-img {
    max-height: 80px;
    width: auto;
}

.footer-content-centered .copyright {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 2fr 1fr;
        gap: var(--space-12);
    }
}

/* Footer Contact Form Layout */
.footer-grid--contact {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .footer-grid--contact {
        grid-template-columns: 1fr 2fr;
        gap: var(--space-16);
        align-items: start;
    }
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-tagline {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--lh-relaxed);
}

.footer-contact-form {
    width: 100%;
}

.footer-form-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--text-inverse);
    margin-bottom: var(--space-6);
}

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

.form-row {
    display: grid;
    gap: var(--space-4);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: rgba(255, 255, 255, 0.8);
}

.form-input {
    padding: var(--space-3) var(--space-4);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    font-size: var(--fs-base);
    font-family: inherit;
    transition: border-color var(--transition-base), background-color var(--transition-base);
}

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

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

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

.form-submit {
    align-self: flex-start;
    margin-top: var(--space-2);
}

/* Footer Contact (legacy) */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-logo .logo-text {
    fill: var(--text-inverse);
}

.footer-address {
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

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

.footer-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

@media (min-width: 640px) {
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-nav-title {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-nav-list a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

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

/* Footer Social */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transition: color var(--transition-base),
                border-color var(--transition-base),
                background-color var(--transition-base);
}

.social-link:hover {
    color: var(--color-primary);
    background-color: var(--text-inverse);
    border-color: var(--text-inverse);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.legal-links {
    display: flex;
    gap: var(--space-6);
}

.legal-links a {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-base);
}

.legal-links a:hover {
    color: var(--text-inverse);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   MOBILE NAVIGATION
   ========================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .logo-img {
        height: 48px;
        max-height: 56px;
    }

    .primary-nav {
        gap: 0;
    }
}

/* Body scroll lock when mobile menu is open */
body.mobile-nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ==========================================
   ACCORDION (for Acquire page)
   ========================================== */
.accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

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

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-4) var(--space-6);
    text-align: left;
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    color: var(--text);
    background-color: var(--surface);
    transition: background-color var(--transition-base);
}

.accordion-trigger:hover {
    background-color: var(--bg-alt);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-base);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.accordion-content-inner {
    padding: var(--space-4) var(--space-6) var(--space-6);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* ==========================================
   PAGE HERO (for inner pages)
   ========================================== */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
}

.page-hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-hero-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2744 0%, #2a3d5f 100%);
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 39, 68, 0.9) 0%,
        rgba(26, 39, 68, 0.5) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* Big Stat Display (Acquire page) */
.big-stat {
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    line-height: 1;
}

.big-stat-label {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-2);
}

/* ==========================================
   CONTENT SECTIONS (for inner pages)
   ========================================== */
.content-section {
    padding: var(--space-16) 0;
}

.content-section.alt {
    background-color: var(--bg-alt);
}

.two-column-grid {
    display: grid;
    gap: var(--space-12);
    align-items: start;
}

@media (min-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.content-block h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-4);
}

.content-block p {
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-4);
}

.content-block ul {
    margin-bottom: var(--space-4);
}

.content-block li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-muted);
}

.content-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* Process List (Develop page) */
.process-list {
    display: grid;
    gap: var(--space-6);
    counter-reset: process;
}

.process-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    align-items: start;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--text-inverse);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
    counter-increment: process;
}

.process-number::before {
    content: counter(process);
}

.process-content h4 {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2);
}

.process-content p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* Property Cards (Develop page - Under Construction / Completed) */
.property-cards {
    display: grid;
    gap: var(--space-6);
}

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

@media (min-width: 1024px) {
    .property-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.property-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.property-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.property-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
}

.property-card-content {
    padding: var(--space-4);
}

.property-card-tenant {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-1);
}

.property-card-location {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.property-card-status {
    display: inline-block;
    margin-top: var(--space-3);
    padding: var(--space-1) var(--space-3);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.property-card-status.construction {
    background-color: rgba(234, 179, 8, 0.1);
    color: #b45309;
}

.property-card-status.completed {
    background-color: rgba(74, 124, 89, 0.1);
    color: var(--color-accent);
}

/* ==========================================
   CONTACT CARDS (Acquire page)
   ========================================== */
.contact-cards {
    display: grid;
    gap: var(--space-6);
}

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

@media (min-width: 1024px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    padding: var(--space-6);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.contact-card-region {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.contact-card-name {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-1);
}

.contact-card-title {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.contact-card-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.contact-card-link:hover {
    color: var(--color-primary-light);
}

.contact-card-link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   PROFESSIONAL STAFF SECTION (Contact page)
   ========================================== */
.staff-section {
    padding: var(--space-16) 0;
    background-color: var(--bg-alt);
}

.staff-title {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
    text-align: center;
    margin-bottom: var(--space-10);
    color: var(--text);
}

.staff-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

.staff-card {
    padding: var(--space-6);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* Stagger delay set by JS */
    transition-delay: var(--delay, 0ms);
}

/* Hover micro-interaction - desktop only (pointer: fine) */
@media (hover: hover) and (pointer: fine) {
    .staff-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
}

.staff-name {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--text);
    margin-bottom: var(--space-1);
}

.staff-role {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.staff-email {
    display: inline-block;
    font-size: var(--fs-sm);
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.staff-email:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ==========================================
   REVEAL ANIMATIONS (scroll-triggered)
   ========================================== */

/* Base reveal state - hidden */
.reveal {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0ms);
}

/* Direction modifiers */
.reveal--up {
    transform: translateY(16px);
}

.reveal--left {
    transform: translateX(-24px);
}

.reveal--right {
    transform: translateX(24px);
}

/* Visible state - applied by JS */
.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .staff-card {
        transition: none;
    }
}

/* ==========================================
   TENANT GRID (Targeted Tenants page)
   ========================================== */
.tenant-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .tenant-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

.tenant-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-height: 180px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect on desktop */
@media (hover: hover) and (pointer: fine) {
    .tenant-logo-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
}

.tenant-logo-item img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ==========================================
   CHARITY LIST (Bluejay Gives Back page)
   ========================================== */
.charity-list {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

@media (min-width: 768px) {
    .charity-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

.charity-list li {
    padding: var(--space-4) var(--space-5);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .charity-list li:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

/* ==========================================
   CORE VALUES MARQUEE SECTION
   Premium animated values slider
   ========================================== */

/* CSS Variables for easy customization */
.prime-values-section {
    --pv-speed: 30s;                    /* Animation duration (lower = faster) */
    --pv-font-size: clamp(3rem, 8vw, 7rem);
    --pv-bg-dark: #0a0a12;
    --pv-bg-accent: #0d1a2d;
    --pv-text-primary: #ffffff;
    --pv-gradient-1: #3b82f6;           /* Blue */
    --pv-gradient-2: #8b5cf6;           /* Purple */
    --pv-gradient-3: #06b6d4;           /* Cyan */
    --pv-glow-color: rgba(59, 130, 246, 0.4);
    --pv-separator-color: rgba(255, 255, 255, 0.2);

    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pv-bg-dark) 0%, var(--pv-bg-accent) 50%, var(--pv-bg-dark) 100%);
    padding: var(--space-16) 0;
}

/* Animated background layer */
.prime-values-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: prime-values-bg-shift 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes prime-values-bg-shift {
    0% { transform: translateX(0) scale(1); opacity: 0.8; }
    100% { transform: translateX(-5%) scale(1.1); opacity: 1; }
}

.prime-values-container {
    position: relative;
    z-index: 1;
}

.prime-values-label {
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pv-gradient-1);
    margin-bottom: var(--space-8);
    opacity: 0.9;
}

/* Marquee container */
.prime-values-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Marquee track */
.prime-values-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: prime-values-scroll var(--pv-speed) linear infinite;
    will-change: transform;
}

@keyframes prime-values-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.prime-values-marquee:hover .prime-values-track {
    animation-play-state: paused;
}

/* Value items */
.prime-values-item {
    font-family: var(--font-display);
    font-size: var(--pv-font-size);
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    color: var(--pv-text-primary);
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 var(--space-6);
    position: relative;
    background: linear-gradient(
        135deg,
        var(--pv-text-primary) 0%,
        var(--pv-text-primary) 40%,
        var(--pv-gradient-1) 50%,
        var(--pv-gradient-2) 60%,
        var(--pv-text-primary) 70%,
        var(--pv-text-primary) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: prime-values-shimmer 8s ease-in-out infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 30px var(--pv-glow-color));
    transition: transform 0.3s ease;
}

@keyframes prime-values-shimmer {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

/* Hover effect on individual items */
.prime-values-item:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px var(--pv-glow-color));
}

/* Diamond separator */
.prime-values-separator {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--pv-gradient-1), var(--pv-gradient-2));
    transform: rotate(45deg);
    margin: 0 var(--space-4);
    flex-shrink: 0;
    opacity: 0.7;
    box-shadow: 0 0 20px var(--pv-glow-color);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .prime-values-track {
        animation: none;
    }
    .prime-values-bg {
        animation: none;
    }
    .prime-values-item {
        animation: none;
        background: var(--pv-text-primary);
        -webkit-background-clip: text;
        background-clip: text;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prime-values-section {
        --pv-font-size: clamp(2rem, 10vw, 3.5rem);
        padding: var(--space-12) 0;
    }

    .prime-values-separator {
        width: 8px;
        height: 8px;
        margin: 0 var(--space-2);
    }

    .prime-values-item {
        padding: 0 var(--space-4);
    }
}

/* ==========================================
   VARIANT B: Dual Row Marquee (Opposite Directions)
   Uncomment below and add second track in HTML
   ==========================================

.prime-values-marquee--dual {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.prime-values-track--reverse {
    animation: prime-values-scroll-reverse var(--pv-speed) linear infinite;
}

@keyframes prime-values-scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
*/

/* ==========================================
   ACQUIRED PROPERTIES PAGE
   ========================================== */

/* Compact page hero variant */
.page-hero--compact {
    min-height: 40vh;
}

/* Properties section */
.acquired-properties-section {
    padding-block: var(--space-12) var(--space-16);
}

/* Toolbar: search + stats */
.properties-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
}

.properties-search {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-icon {
    position: absolute;
    left: var(--space-4);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-field {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    padding-left: calc(var(--space-4) + 28px);
    padding-right: calc(var(--space-4) + 32px);
    font-size: var(--fs-base);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.search-input-field:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.search-input-field::placeholder {
    color: var(--text-muted);
}

.search-clear {
    position: absolute;
    right: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: color var(--transition-base), background-color var(--transition-base);
}

.search-clear:hover {
    color: var(--text);
    background-color: var(--color-gray-100);
}

.search-clear svg {
    width: 14px;
    height: 14px;
}

.properties-stats {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.properties-count {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.expand-all-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base);
}

.expand-all-btn:hover {
    background-color: var(--color-gray-50);
}

.expand-all-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.expand-all-btn.collapsed .expand-all-icon {
    transform: rotate(-90deg);
}

/* Properties container */
.acquired-properties {
    position: relative;
}

/* Loading state */
.properties-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-16) var(--space-4);
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* No results state */
.no-results {
    text-align: center;
    padding: var(--space-16) var(--space-4);
}

.no-results-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.no-results-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2);
}

.no-results-text {
    color: var(--text-muted);
}

.link-btn {
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}

.link-btn:hover {
    color: var(--color-primary-dark);
}

/* State section */
.state-section {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.state-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .state-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.state-section:first-child {
    border-top: 1px solid var(--border);
}

.state-section.hidden {
    display: none;
}

/* State column (left) */
.state-col {
    position: relative;
    padding: var(--space-5) var(--space-4);
    padding-right: var(--space-6);
    background-color: var(--color-gray-50);
    border-right: 1px solid var(--border);
}

/* Sticky state label on desktop */
@media (min-width: 769px) {
    .state-col {
        position: sticky;
        top: calc(var(--header-height-scrolled) + var(--space-4));
        align-self: start;
        height: fit-content;
        z-index: 5;
    }
}

.state-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 0;
    border-radius: var(--radius-sm);
    transition: color var(--transition-base);
}

.state-toggle:hover {
    color: var(--color-primary);
}

.state-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.state-name {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.02em;
}

.state-count {
    display: block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-normal);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-base), color var(--transition-base);
}

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

.state-toggle:hover .state-icon {
    color: var(--color-primary);
}

.state-toggle[aria-expanded="false"] .state-icon {
    transform: rotate(-90deg);
}

@media (prefers-reduced-motion: reduce) {
    .state-icon {
        transition: none;
    }
}

/* Properties column (right) */
.props-col {
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .props-col {
        transition: none;
    }
}

.props-col.collapsed {
    max-height: 0 !important;
    opacity: 0;
}

.props-col-inner {
    padding: var(--space-3) 0;
}

/* Property row */
.prop-row {
    display: block;
    padding: var(--space-3) var(--space-5);
    border-bottom: 1px solid var(--color-gray-100);
    transition: background-color var(--transition-fast);
    opacity: 0;
    transform: translateX(10px);
}

.prop-row.revealed {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .prop-row {
        opacity: 1;
        transform: none;
    }
}

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

.prop-row:hover {
    background-color: var(--color-gray-50);
}

.prop-row.hidden {
    display: none;
}

.prop-tenant {
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    color: var(--text);
    margin-bottom: var(--space-1);
}

.prop-address {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

/* Text highlight for search matches */
.highlight {
    background-color: rgba(255, 213, 79, 0.4);
    padding: 0 2px;
    border-radius: 2px;
}

/* Mobile layout */
@media (max-width: 768px) {
    .state-section {
        display: block;
    }

    .state-col {
        position: relative;
        top: 0;
        padding: var(--space-4);
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .props-col-inner {
        padding: var(--space-2) 0;
    }

    .prop-row {
        padding: var(--space-3) var(--space-4);
    }

    .properties-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .properties-search {
        max-width: none;
    }

    .properties-stats {
        justify-content: space-between;
    }
}

/* Focus states for accessibility */
.state-toggle:focus-visible,
.prop-row:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

/* ==========================================
   ABOUT PAGE - HERO SECTION
   ========================================== */
.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 39, 68, 0.4) 0%,
        rgba(26, 39, 68, 0.6) 100%
    );
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-20) var(--space-6);
}

.about-hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   ABOUT PAGE - CONTENT SECTION
   ========================================== */
.about-content-section {
    padding: var(--space-20) 0;
    background-color: var(--surface);
}

.about-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.about-content-text {
    margin-bottom: var(--space-10);
}

.about-content-text:last-child {
    margin-bottom: 0;
}

.about-content-text p {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.about-content-text p:last-child {
    margin-bottom: 0;
}

.about-lead-paragraph {
    font-size: var(--fs-xl) !important;
    color: var(--text) !important;
    font-weight: var(--fw-medium);
    line-height: 1.7 !important;
}

.about-content-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    margin: var(--space-12) auto;
    border-radius: 2px;
}

/* ==========================================
   ABOUT PAGE - STRATEGIC TITLE SECTION
   ========================================== */
.strategic-title-section {
    padding: var(--space-16) 0;
    background-color: var(--background);
}

.strategic-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--fw-bold);
    color: var(--text);
    text-align: center;
    letter-spacing: -0.02em;
}

/* Fade in up animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.revealed .fade-in-up,
.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   ABOUT PAGE - SPLIT SECTIONS
   ========================================== */
.split-section {
    padding: var(--space-16) 0;
    background-color: var(--surface);
}

.split-section--alt {
    background-color: var(--background);
}

.split-grid {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 768px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

@media (min-width: 1024px) {
    .split-grid {
        gap: var(--space-20);
    }
}

.split-image {
    order: 1;
}

.split-content {
    order: 2;
}

@media (min-width: 768px) {
    .split-grid--image-left .split-image {
        order: 1;
    }

    .split-grid--image-left .split-content {
        order: 2;
    }

    .split-grid--image-right .split-image {
        order: 2;
    }

    .split-grid--image-right .split-content {
        order: 1;
    }
}

.split-image-placeholder {
    width: 100%;
    aspect-ratio: 7/5;
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.split-image-img {
    width: 100%;
    aspect-ratio: 7/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.split-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--fw-semibold);
    color: var(--text);
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.split-text {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--text-muted);
}

/* Smooth transitions for split sections */
.split-section.revealed .split-image {
    animation: fadeSlideIn 0.8s ease-out forwards;
}

.split-section.revealed .split-content {
    animation: fadeSlideIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

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

/* ==========================================
   LOADING OVERLAY
   ========================================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    overflow: hidden;
}

.loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-overlay.hidden {
    display: none;
}

/* Prevent scroll when overlay is active */
body.loading-active {
    overflow: hidden;
}

.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-6);
}

.loading-text {
    font-size: clamp(1.25rem, 4.5vw, 4rem);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 var(--space-8);
    max-width: calc(100vw - var(--space-16));
    box-sizing: border-box;
    text-align: center;
}

@media (max-width: 768px) {
    .loading-text {
        font-size: clamp(1rem, 5vw, 2rem);
        letter-spacing: 0.04em;
        margin: 0 var(--space-4);
        max-width: calc(100vw - var(--space-8));
    }
}

/* Hollow/outlined text for "Simplified" */
.loading-text-hollow {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-inverse);
    text-stroke: 2px var(--text-inverse);
    paint-order: stroke fill;
}

@media (max-width: 768px) {
    .loading-text-hollow {
        -webkit-text-stroke: 1.5px var(--text-inverse);
        text-stroke: 1.5px var(--text-inverse);
    }
}

/* Blinking caret */
.loading-caret {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--text-inverse);
    margin-left: 4px;
    vertical-align: middle;
    animation: caretBlink 0.8s infinite;
}

.loading-caret.hidden {
    opacity: 0;
}

@keyframes caretBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Reduced motion: skip typewriter, just show text */
@media (prefers-reduced-motion: reduce) {
    .loading-overlay {
        transition: opacity 0.3s ease, visibility 0.3s;
    }

    .loading-caret {
        animation: none;
        opacity: 1;
    }
}
