/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --color-primary: rgb(58, 80, 116);
    --color-primary-dark: rgb(45, 62, 90);
    --color-primary-soft: rgba(58, 80, 116, 0.08);

    /* Text Colors */
    --color-text: rgb(18, 25, 41);
    --color-text-light: rgb(82, 95, 127);
    --color-text-muted: rgb(148, 163, 184);

    /* Background Colors */
    --color-background: #ffffff;
    --color-background-alt: rgb(248, 250, 253);
    --color-background-dark: rgb(18, 25, 41);

    /* UI Elements */
    --color-border: rgba(220, 225, 235, 0.7);
    --color-glass-bg: #ffffff;
    /* Switched to solid white for perfect logo blending */

    /* Typography */
    --font-serif: 'DM Serif Text', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --section-padding: 120px;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(18, 25, 41, 0.08);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

a:hover {
    color: var(--color-primary);
}

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

/* ===== Header (Glassmorphism) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* Shrink branding elements on scroll for a professional feel */
.header.scrolled .logo-icon {
    height: 48px;
}

.header.scrolled .logo-farrcrest {
    font-size: 1.75rem;
}

.header.scrolled .logo-capital {
    font-size: 0.8125rem;
}

.header.scrolled .logo-identity {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ===== Brand Identity (Logo) ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: auto;
    /* Changed from 100% to prevent footer stretching */
}

.logo-icon {
    height: 72px;
    /* Maximum boldness for header presence */
    width: auto;
    /* Clean up any off-white image artifacts for perfect blending */
    filter: contrast(1.1) brightness(1.05);
    mix-blend-mode: multiply;
    transition: all var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: translateY(-2px);
}

.logo-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-name {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    line-height: 1;
    margin-bottom: 2px;
}

.logo-farrcrest {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    /* Scaled up for authority */
    font-weight: 600;
    /* Increased weight for commanding legibility */
    color: var(--color-text);
    transition: all var(--transition-normal);
}

.logo-capital {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    /* Proportionally scaled */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text);
    transition: all var(--transition-normal);
}

.logo-identity {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45em;
    color: var(--color-text-light);
    margin-top: 2px;
    transition: all var(--transition-normal);
}

/* Footer Specific Adjustments */
.footer-logo {
    margin-bottom: 1rem;
    display: inline-flex;
    /* Ensure it only takes needed space */
}

.footer-logo .logo-icon {
    /* Handle non-transparent images with white backgrounds */
    filter: invert(1) grayscale(1) brightness(2);
    mix-blend-mode: screen;
    height: 64px;
    /* Bold scale in footer */
}

.footer-logo .logo-farrcrest,
.footer-logo .logo-capital {
    color: #ffffff !important;
    /* Force visibility */
}

.footer-logo .logo-identity {
    color: rgba(255, 255, 255, 0.5) !important;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 2.75rem;
    /* Increased from 2.5rem */
}

.nav-link {
    font-size: 1rem;
    /* Scaled from 0.9375rem */
    font-weight: 500;
    color: var(--color-text);
    padding: 8px 0;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, var(--color-primary-dark) 0%, var(--color-background-dark) 100%);
    padding: calc(var(--header-height) + 60px) 24px 60px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Subtle geometric architectural pattern */
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px, 120px 120px, 120px 120px;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-primary);
    margin: 2rem auto;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== Overview Section ===== */
.overview {
    padding: 100px 0;
    background-color: var(--color-background);
}

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

.overview-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* ===== Media Section ===== */
.media-section {
    padding: 100px 0;
    background-color: var(--color-background-alt);
}

.media-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.media-section .section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

/* Media Logos */
.media-logos-group {
    margin-bottom: 3rem;
}

.media-logos-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.media-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.media-logo:hover {
    opacity: 1;
}

.media-logo img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
}

.media-logo:hover img {
    filter: grayscale(0%);
}

/* Books Section */
.books-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.books-section .section-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.book-card {
    background-color: var(--color-background);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.book-cover {
    margin-bottom: 1.5rem;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.book-cover img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

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

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

    .media-logo img {
        height: 28px;
        max-width: 120px;
    }

    .media-logos {
        gap: 1.5rem 2rem;
    }
}

/* ===== Newsletter Section ===== */
.newsletter {
    padding: 100px 0;
    background-color: var(--color-background);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo-text,
.footer-logo .logo-subtext {
    color: #ffffff;
}

.footer-logo:hover .logo-text,
.footer-logo:hover .logo-subtext {
    color: rgba(255, 255, 255, 0.8);
}

.footer-disclaimer {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-address,
.footer-phone,
.footer-email {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

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

    /* Header logo scaling for mobile */
    .logo-icon {
        height: 44px;
    }

    .logo {
        gap: 0.75rem;
    }

    .logo-farrcrest {
        font-size: 1.5rem;
    }

    .logo-capital {
        font-size: 0.8125rem;
    }

    .logo-identity {
        font-size: 0.5625rem;
        letter-spacing: 0.3em;
    }

    .header.scrolled .logo-icon {
        height: 36px;
    }

    .header.scrolled .logo-farrcrest {
        font-size: 1.35rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-background);
        border-bottom: 1px solid var(--color-border);
        padding: 1.5rem;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .newsletter-form {
        flex-direction: column;
    }

    /* Footer mobile layout */
    .footer {
        padding: 50px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-logo .logo-icon {
        height: 44px;
    }

    .footer-logo .logo-farrcrest {
        font-size: 1.5rem;
    }

    .footer-logo .logo-capital {
        font-size: 0.8125rem;
    }

    .footer-disclaimer {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(var(--header-height) + 40px) 16px 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .overview,
    .media-section,
    .newsletter {
        padding: 60px 0;
    }

    /* Further shrink logo on very small screens */
    .logo-icon {
        height: 36px;
    }

    .logo-farrcrest {
        font-size: 1.25rem;
    }

    .logo-capital {
        font-size: 0.6875rem;
    }

    .logo-identity {
        display: none;
    }

    .logo {
        gap: 0.5rem;
    }

    .header.scrolled .logo-icon {
        height: 32px;
    }

    .header.scrolled .logo-farrcrest {
        font-size: 1.15rem;
    }

    /* Footer on very small screens */
    .footer-logo .logo-icon {
        height: 36px;
    }

    .footer-logo .logo-farrcrest {
        font-size: 1.25rem;
    }

    .footer-logo .logo-capital {
        font-size: 0.6875rem;
    }

    .footer-logo .logo-identity {
        display: none;
    }
}

/* ===== Page Hero (Interior Pages) ===== */
.page-hero {
    position: relative;
    background: radial-gradient(circle at center, var(--color-primary-dark) 0%, var(--color-background-dark) 100%);
    padding: calc(var(--header-height) + 100px) 0 100px;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Consistent architectural pattern */
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px, 120px 120px, 120px 120px;
    opacity: 0.8;
    pointer-events: none;
}

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

.page-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-primary);
    margin: 1.5rem auto;
}

.page-subtitle {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Content Section ===== */
.content-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.content-narrow {
    max-width: 700px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

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

.about-intro-text {
    max-width: 100%;
}

.about-intro-text .lead-text {
    margin-bottom: 0;
}

.about-intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Location Image Sections */
.location-image-section {
    position: relative;
    height: 300px;
    /* Reduced from 400px for a thinner editorial look */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.location-image-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(37, 46, 73, 0.3), rgba(37, 46, 73, 0.5));
}

.location-image-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.location-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.location-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
}

.content-narrow p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

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

/* ===== Pillars Section (About Page) ===== */
.pillars-section {
    padding: 80px 0;
    background-color: var(--color-background-alt);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background-color: var(--color-background);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.pillar-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ===== Team Section ===== */
.team-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

/* === Team Grid === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.team-card {
    background-color: var(--color-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-card-header {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
}

.team-card .member-photo {
    flex-shrink: 0;
    width: 120px;
}

.team-card .member-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.team-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card .member-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.team-card .member-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.team-card .member-intro {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.team-card .member-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.team-card-expand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background-color: var(--color-background-alt);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.team-card-expand:hover {
    background-color: var(--color-border);
}

.team-card-expand svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.team-card.expanded .team-card-expand svg {
    transform: rotate(180deg);
}

.team-card .member-bio {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 1.5rem;
}

.team-card.expanded .member-bio {
    max-height: 1000px;
    padding: 1.5rem;
    transition: max-height 0.8s ease-in;
}

.team-card .member-bio p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.team-card .member-bio p:last-child {
    margin-bottom: 0;
}

/* Featured Card (Chairman - larger) */
.team-card-featured {
    grid-column: 1 / -1;
}

.team-card-featured .team-card-header {
    padding: 2rem;
    gap: 2rem;
}

.team-card-featured .member-photo {
    width: 180px;
}

.team-card-featured .member-photo img {
    width: 180px;
    height: 180px;
}

.team-card-featured .member-name {
    font-size: 2rem;
}

.team-card-featured .member-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.team-card-featured .member-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.team-card-featured .member-links {
    gap: 1.25rem;
}

.team-card-featured .member-links .member-link svg {
    width: 22px;
    height: 22px;
}

.team-card-featured .member-bio {
    padding: 0 2rem;
}

.team-card-featured.expanded .member-bio {
    padding: 1.5rem 2rem 2rem;
}

.team-card-featured .member-bio p {
    font-size: 1rem;
}

/* Bio Toggle Button */
.bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
}

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

.bio-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.bio-toggle.expanded svg {
    transform: rotate(180deg);
}

/* Member Links */
.member-link {
    color: var(--color-text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.member-link:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.member-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Legacy styles for compatibility */
.photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-border) 100%);
    border-radius: 8px;
}

/* ===== Approach Section ===== */
.approach-pillars {
    padding: var(--section-padding) 0;
    background-color: var(--color-background);
    position: relative;
    overflow: hidden;
}

.approach-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.approach-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    border-bottom: none;
    padding: 0;
}

/* Alternate Layout */
.approach-item:nth-child(even) {
    direction: rtl;
}

.approach-item:nth-child(even) .approach-content {
    direction: ltr;
}

/* Ghost Numbers */
.approach-item::before {
    content: attr(data-number);
    position: absolute;
    top: -2rem;
    left: -2rem;
    font-family: var(--font-serif);
    font-size: 15rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
}

.approach-item:nth-child(even)::before {
    left: auto;
    right: -2rem;
}

.approach-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.approach-icon-box {
    width: 200px;
    height: 200px;
    background: var(--color-background-alt);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.approach-item:hover .approach-icon-box {
    transform: translateY(-10px) rotate(3deg);
    box-shadow: var(--shadow-lg);
}

.approach-icon-box svg {
    width: 80px;
    height: 80px;
    stroke-width: 1.25;
}

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

.approach-number {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.approach-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.approach-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 500px;
}

/* ===== Insights Section ===== */
.insights-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.insight-card {
    background-color: var(--color-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.insight-image {
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-background-alt) 0%, var(--color-border) 100%);
}

.insight-content {
    padding: 1.5rem;
}

/* === Blog Card: Large Date Feature === */
.insight-card.style-date {
    display: flex;
    flex-direction: row;
}

.insight-card.style-date .insight-image {
    display: none;
}

.insight-card.style-date .insight-date-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 1.5rem;
    background-color: var(--color-primary);
    color: #ffffff;
    text-align: center;
}

.insight-card.style-date .date-month {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.insight-card.style-date .date-day {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
    margin: 0.25rem 0;
}

.insight-card.style-date .date-year {
    font-size: 0.875rem;
    opacity: 0.7;
}

.insight-card.style-date .insight-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insight-card.style-date .insight-date {
    display: none;
}

.insight-card.style-date .insight-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
    .insight-card.style-date {
        flex-direction: column;
    }

    .insight-card.style-date .insight-date-feature {
        flex-direction: row;
        gap: 0.5rem;
        min-width: auto;
        padding: 1rem;
    }

    .insight-card.style-date .date-day {
        font-size: 1.5rem;
    }
}

.insight-date {
    font-size: 0.875rem;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 0.75rem;
}

.insight-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.insight-excerpt {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.insight-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-prev,
.pagination-next,
.pagination-number {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.pagination-prev:hover,
.pagination-next:hover,
.pagination-number:hover {
    background-color: var(--color-background-alt);
    color: var(--color-primary);
}

.pagination-number.active {
    background-color: var(--color-primary);
    color: #ffffff;
}

.pagination-number.active:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.pagination-prev.disabled,
.pagination-next.disabled {
    color: var(--color-border);
    pointer-events: none;
}

/* ===== Article Page ===== */
.article-hero {
    padding-bottom: 60px;
}

.article-hero .page-title {
    font-size: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero .page-title::after {
    display: none;
}

.back-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: #ffffff;
}

.article-date {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
}

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

.article-content {
    max-width: 700px;
    margin: 0 auto;
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 1.75rem;
}

.article-content p:first-child {
    font-size: 1.25rem;
    color: var(--color-text);
}

/* Article Navigation */
.article-nav {
    padding: 40px 0;
    background-color: var(--color-background-alt);
    border-top: 1px solid var(--color-border);
}

.article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.article-nav-prev,
.article-nav-next {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 45%;
    transition: transform var(--transition-fast);
}

.article-nav-prev:hover,
.article-nav-next:hover {
    transform: translateY(-2px);
}

.article-nav-next {
    text-align: right;
    margin-left: auto;
}

.nav-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.4;
}

/* ===== Reveal Animation System ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Scale Reveal for Images */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-scale {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== Additional Responsive Styles ===== */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--header-height) + 60px) 0 60px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .article-hero .page-title {
        font-size: 2rem;
    }

    .article-nav-links {
        flex-direction: column;
    }

    .article-nav-prev,
    .article-nav-next {
        max-width: 100%;
        text-align: left;
    }

    .article-content p {
        font-size: 1rem;
    }

    .article-content p:first-child {
        font-size: 1.125rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .team-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-card .member-links {
        justify-content: center;
    }

    .team-card-featured .team-card-header {
        padding: 1.5rem;
    }

    .team-card-featured .member-photo,
    .team-card-featured .member-photo img {
        width: 140px;
        height: 140px;
    }

    .team-card-featured .member-name {
        font-size: 1.75rem;
    }

    .approach-item {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr !important;
        text-align: left;
    }

    .approach-item::before {
        display: none;
    }

    .approach-icon-box {
        width: 120px;
        height: 120px;
    }

    .approach-icon-box svg {
        width: 48px;
        height: 48px;
    }

    .approach-number {
        margin-bottom: 1rem;
    }

    .approach-title {
        font-size: 1.75rem;
    }

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

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .location-image-section {
        height: 240px;
        /* Reduced from 300px for mobile */
        background-attachment: scroll;
    }

    .location-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .pillar-card {
        padding: 1.5rem;
    }

    .content-section,
    .pillars-section,
    .team-section,
    .approach-pillars,
    .insights-section {
        padding: 60px 0;
    }
}