/* TerraDev About Us Page Stylesheet */

/* --- 1. GLOBAL & ROOT DEFINITIONS --- */
:root {
    --brand-green-dark: #1e4620;
    --brand-green-accent: #2a9d8f;
    --brand-green-mid: #81c784;
    --brand-green-light: #e8f5e9;
    --text-on-dark: #fbfdfb;
    --glow-color: rgba(129, 199, 132, 0.5);
    --text-primary: #1a3b1a;
    --text-secondary: #36533c;
    --bg-light: #fbfdfb;
    --animation-duration: 0.6s;
    --x: 50%;
    --y: 50%;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    margin: 0;
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

/* --- 2. THEME-CONSISTENT COMPONENTS --- */
.btn-primary, .cta-button {
    display: inline-block;
    padding: 1rem 2.25rem;
    border-radius: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-size: 1rem;
    color: #fff;
    background-image: linear-gradient(110deg, var(--brand-green-accent) 0%, var(--brand-green-mid) 100%);
    box-shadow: 0 10px 30px -5px rgba(42, 157, 143, 0.4), 0 0 15px var(--glow-color) inset;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    background-size: 250% auto;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover, .cta-button:hover,
.btn-primary:focus, .cta-button:focus {
    background-position: right center;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 45px -8px rgba(42, 157, 143, 0.5), 0 0 20px var(--glow-color) inset;
}

.btn-shimmer::before, .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-shimmer:hover::before, .cta-button:hover::before {
    left: 100%;
}

/* Animation Utility */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

hr.wp-block-separator {
    border: none;
    border-top: 1px solid rgba(30, 70, 32, 0.15);
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 3. SECTION SPECIFIC STYLES --- */

/* Hero Section */
#about-us-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    text-align: center;
    background-color: var(--brand-green-dark);
}
#about-us-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about-hero-background.png');
    background-size: cover;
    background-position: center center;
    z-index: 0;
    filter: brightness(0.6) contrast(1.1);
}
#about-us-hero .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 70, 32, 0.6), rgba(30, 70, 32, 0.6));
    z-index: 1;
}
#about-us-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 1.5rem;
    color: #fff;
}
.about-us-hero-title {
    color: #fff;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.about-us-hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* Story Section (Alt) */
#story-section-alt {
    padding: 6rem 0;
    background-color: var(--bg-light);
}
.story-alt-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.story-alt-image-panel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(30, 70, 32, 0.2);
}
.story-alt-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--animation-duration) ease-in-out, transform var(--animation-duration) ease-in-out;
    transform: scale(1.05);
}
.story-alt-image.active { opacity: 1; transform: scale(1); }
.story-alt-content-panel { padding: 0 2rem; }
.story-header { text-align: left; margin-bottom: 4rem; }
.story-eyebrow { color: var(--brand-green-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; font-size: 0.85rem; margin-bottom: 0.5rem; }
.story-heading { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 800; color: var(--text-primary); margin: 0; line-height: 1.2; }
.story-accent { width: 60px; height: 4px; background: linear-gradient(90deg, var(--brand-green-mid) 0%, var(--brand-green-accent) 100%); margin: 1rem 0 1.5rem 0; border-radius: 6px; box-shadow: 0 0 15px var(--glow-color); }
.story-intro { font-size: 1.25rem; line-height: 1.75; color: var(--text-secondary); max-width: 600px; }
.story-chapter { min-height: 50vh; padding-bottom: 10vh; opacity: 0.4; transition: opacity var(--animation-duration) ease-in-out; }
.story-chapter.active { opacity: 1; }
.story-chapter:last-child { min-height: auto; padding-bottom: 0; }
.chapter-date { font-weight: 700; color: var(--brand-green-accent); font-size: 1.1rem; margin-bottom: 0.5rem; display: inline-block; border-bottom: 2px solid var(--brand-green-mid); padding-bottom: 0.25rem; }
.chapter-title { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 700; color: var(--text-primary); margin: 0 0 1rem 0; line-height: 1.3; }
.chapter-description { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); max-width: 600px; }
.mobile-story-toggle-wrapper { display: none; text-align: center; margin: 2rem 0; }
.story-toggle-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; background: none; border: none; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1rem; color: var(--brand-green-accent); text-decoration: none; cursor: pointer; transition: all 0.3s ease-in-out; outline: none; }
.story-toggle-btn:hover { color: var(--brand-green-dark); transform: translateY(-2px); text-decoration: underline; }
.story-toggle-btn .toggle-arrow { width: 1.25rem; height: 1.25rem; color: var(--brand-green-accent); transition: transform 0.3s ease-in-out, color 0.3s ease-in-out; }
.story-toggle-btn:hover .toggle-arrow { color: var(--brand-green-dark); }
.story-toggle-btn.expanded .toggle-arrow { transform: rotate(180deg); }

/* Vision & Mission Section */
#vision-mission-section { display: flex; min-height: 90vh; width: 100%; overflow: hidden; background-color: var(--brand-green-dark); }
.vm-panel { flex: 1; padding: 6rem 4rem; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; transition: flex var(--animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1); cursor: pointer; }
.vm-panel::before { content: ''; position: absolute; top: var(--y, 50%); left: var(--x, 50%); transform: translate(-50%, -50%) scale(0); width: 500px; height: 500px; background-image: radial-gradient(circle, var(--glow-color) 0%, transparent 70%); border-radius: 50%; opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease; z-index: 0; pointer-events: none; }
.vision-panel { background-color: var(--brand-green-dark); color: var(--text-on-dark); }
.vision-panel::before { background-image: radial-gradient(circle, rgba(42, 157, 143, 0.3) 0%, transparent 40%); filter: blur(80px); }
.vision-panel .vm-heading { color: var(--text-on-dark); }
.vision-panel .vm-accent { background: var(--brand-green-accent); box-shadow: 0 0 20px var(--brand-green-accent); }
.vision-panel .vm-text { color: var(--brand-green-light); opacity: 0.9; }
.mission-panel { background-color: var(--bg-light); color: var(--text-primary); }
.mission-panel::before { background-image: radial-gradient(circle, var(--glow-color) 0%, transparent 50%); filter: blur(60px); }
.mission-panel .vm-heading { color: var(--text-primary); }
.mission-panel .vm-accent { background: linear-gradient(90deg, var(--brand-green-mid) 0%, var(--brand-green-accent) 100%); box-shadow: 0 0 15px var(--glow-color); }
.mission-panel .vm-text { color: var(--text-secondary); }
.vm-content { position: relative; z-index: 1; max-width: 500px; opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s; }
.vm-panel.visible .vm-content { opacity: 1; transform: translateY(0); }
.vm-eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; font-size: 0.85rem; margin-bottom: 0.5rem; }
.vision-panel .vm-eyebrow { color: var(--brand-green-mid); }
.mission-panel .vm-eyebrow { color: var(--brand-green-accent); }
.vm-heading { font-family: 'Playfair Display', serif; font-size: 3.25rem; font-weight: 700; line-height: 1.1; margin: 0; }
.vm-accent { width: 50px; height: 4px; margin: 0.75rem 0 1.5rem 0; border-radius: 6px; }
.vm-text { font-size: 1.15rem; line-height: 1.7; }
.mission-pillars { list-style: none; padding: 0; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; }
.mission-pillars li { display: flex; align-items: center; gap: 1.25rem; }
.pillar-icon-wrapper { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffffff 30%, var(--brand-green-light) 100%); box-shadow: 0 8px 30px rgba(42, 157, 143, 0.2); border: 2px solid #fff; transition: all var(--animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1); position: relative; overflow: hidden; }
.mission-pillars li:hover .pillar-icon-wrapper { background: linear-gradient(135deg, var(--brand-green-accent), var(--brand-green-mid)); transform: scale(1.15) rotate(10deg); box-shadow: 0 12px 40px rgba(42, 157, 143, 0.4); }
.pillar-icon-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; perspective: 800px; animation: pillar-icon-floating 3s infinite ease-in-out; }
.pillar-icon-base, .pillar-icon-detail { position: absolute; width: 42px; height: 42px; transition: all var(--animation-duration) ease; color: var(--brand-green-accent); opacity: 1; }
.mission-pillars li:hover .pillar-icon-base, .mission-pillars li:hover .pillar-icon-detail { color: #fff; }
.mission-pillars li:hover .pillar-icon-detail { transform: translateZ(5px) scale(1.05); animation: pillar-icon-rotate-slow 15s infinite linear; }
.mission-pillars li:hover .pillar-icon-base { animation: pillar-icon-pulse-glow 2s infinite ease-in-out; }
@keyframes pillar-icon-floating { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(1.5deg); } }
@keyframes pillar-icon-pulse-glow { 0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4)); } 50% { filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7)); } }
@keyframes pillar-icon-rotate-slow { 0% { transform: rotate(0deg) translateZ(5px) scale(1.05); } 100% { transform: rotate(360deg) translateZ(5px) scale(1.05); } }
.pillar-text-content { display: flex; flex-direction: column; }
.pillar-title { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); margin-bottom: 0.25rem; line-height: 1.4; }
.pillar-description { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); line-height: 1.6; display: block; opacity: 1; }

/* Core Pillars Section */
#core-pillars-section { padding: 6rem 2rem; position: relative; overflow: hidden; background-color: #f8faf8; }
.pillars-header { text-align: center; max-width: 850px; margin: 0 auto 5rem auto; }
.pillars-eyebrow { color: var(--brand-green-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; font-size: 0.85rem; margin-bottom: 0.5rem; }
.pillars-heading { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 800; color: var(--text-primary); margin: 0; line-height: 1.2; }
.pillars-accent { width: 60px; height: 4px; background: linear-gradient(90deg, var(--brand-green-mid) 0%, var(--brand-green-accent) 100%); margin: 1rem auto 1.5rem auto; border-radius: 6px; box-shadow: 0 0 15px var(--glow-color); }
.pillars-intro { font-size: 1.25rem; line-height: 1.75; color: var(--text-secondary); }
.pillars-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; max-width: 1400px; margin: 0 auto; }
.pillar-card { position: relative; aspect-ratio: 3 / 4; border-radius: 0; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; box-shadow: 0 20px 50px -20px rgba(30, 70, 32, 0.4); transition: transform var(--animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1); }
.pillar-card:hover { transform: scale(1.05); }
.pillar-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 0; }
.pillar-card:hover .pillar-background { transform: scale(1.1); }
.pillar-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(10, 25, 11, 0.9) 20%, rgba(10, 25, 11, 0.2) 60%, transparent 100%); z-index: 1; transition: background var(--animation-duration) ease; }
.pillar-card:hover .pillar-overlay { background: linear-gradient(to top, rgba(10, 25, 11, 0.95) 30%, rgba(10, 25, 11, 0.1) 70%, transparent 100%); }
.pillar-content { position: relative; z-index: 2; }
.pillar-card .pillar-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1.2; margin: 0 0 0.5rem 0; text-shadow: 0 2px 15px rgba(0,0,0,0.5); transform: translateY(0); transition: transform var(--animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1); }
.pillar-subtitle { font-weight: 600; color: var(--brand-green-mid); margin-bottom: 1.5rem; text-shadow: 0 1px 10px rgba(0,0,0,0.5); transform: translateY(0); transition: transform var(--animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1); }
.pillar-card .pillar-description { font-size: 0.95rem; line-height: 1.6; opacity: 0; max-height: 0; overflow: hidden; transform: translateY(20px); transition: max-height 0.7s ease, opacity 0.7s ease, transform 0.7s ease; }
.pillar-card:hover .pillar-title, .pillar-card:hover .pillar-subtitle { transform: translateY(-10px); }
.pillar-card:hover .pillar-description { opacity: 1; max-height: 200px; transform: translateY(0); }

/* Impact Blueprint Section */
#impact-blueprint-section { padding: 6rem 2rem; position: relative; overflow: hidden; background-color: #ffffff; }
.impact-blueprint-header { text-align: center; max-width: 850px; margin: 0 auto 3rem auto; }
.impact-blueprint-eyebrow { color: var(--brand-green-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; font-size: 0.85rem; margin-bottom: 0.5rem; }
.impact-blueprint-heading { font-family: 'Playfair Display', serif; font-size: 2.75rem; font-weight: 700; color: var(--text-primary); margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
.impact-blueprint-accent { width: 50px; height: 4px; background: linear-gradient(90deg, var(--brand-green-mid) 0%, var(--brand-green-accent) 100%); margin: 1rem auto 1.5rem auto; border-radius: 6px; box-shadow: 0 0 15px var(--glow-color); }
.impact-blueprint-intro { font-size: 1.25rem; line-height: 1.75; color: var(--text-secondary); }
.impact-blueprint-content-wrapper { display: flex; flex-direction: column; max-width: 1200px; margin: 0 auto; gap: 2.5rem; }
.blueprint-node-list { display: flex; flex-direction: column; width: 100%; gap: 1rem; }
.blueprint-node-item { background-color: rgba(255, 255, 255, 0.6); border: 1.5px solid rgba(255, 255, 255, 0.8); border-radius: 0; padding: 1.5rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; transition: all var(--animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 10px 40px -10px rgba(42, 157, 143, 0.125); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: relative; overflow: hidden; }
.blueprint-node-item::before { content: ''; position: absolute; top: var(--y, 50%); left: var(--x, 50%); transform: translate(-50%, -50%) scale(0); width: 250px; height: 250px; background-image: radial-gradient(circle, var(--glow-color) 0%, transparent 70%); border-radius: 50%; opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease; z-index: 0; pointer-events: none; }
.blueprint-node-item:hover::before { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.blueprint-node-item:hover { border-color: var(--brand-green-mid); box-shadow: 0 25px 50px -12px rgba(42, 157, 143, 0.25); transform: translateY(-16px) scale(1.05); }
.blueprint-node-item.active { background: linear-gradient(45deg, var(--brand-green-accent), var(--brand-green-mid)); color: #fff; border-color: var(--brand-green-accent); box-shadow: 0 10px 25px rgba(42, 157, 143, 0.2); }
.blueprint-node-item.active .node-icon, .blueprint-node-item.active .node-label { color: #fff; }
.node-icon { color: var(--brand-green-accent); width: 28px; height: 28px; flex-shrink: 0; transition: color 0.3s ease; position: relative; z-index: 1; }
.blueprint-node-item.active .node-icon { color: #fff; }
.node-label { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); transition: color 0.3s ease; position: relative; z-index: 1; }
.blueprint-content-panel { width: 100%; min-height: 320px; position: relative; }
.blueprint-content-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1.5px solid rgba(255, 255, 255, 0.8); border-radius: 0; padding: 2.5rem; width: 100%; box-sizing: border-box; box-shadow: 0 10px 30px -10px rgba(42, 157, 143, 0.15); opacity: 0; transform: translateY(20px); transition: all var(--animation-duration) ease-out; display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
.blueprint-content-card::before { content: ''; position: absolute; top: var(--y, 50%); left: var(--x, 50%); transform: translate(-50%, -50%) scale(0); width: 300px; height: 300px; background-image: radial-gradient(circle, var(--glow-color) 0%, transparent 70%); border-radius: 50%; opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease; z-index: 0; pointer-events: none; }
.blueprint-content-card:hover::before { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.blueprint-content-card:hover { border-color: var(--brand-green-mid); box-shadow: 0 25px 50px -12px rgba(42, 157, 143, 0.25); transform: translateY(-16px) scale(1.05); }
.blueprint-content-card.active { display: block; opacity: 1; transform: translateY(0); }
.content-card-inner { position: relative; z-index: 1; }
.content-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.content-card-icon-large { color: var(--brand-green-accent); width: 32px; height: 32px; flex-shrink: 0; position: relative; z-index: 1; }
.content-card-title { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: var(--text-primary); position: relative; z-index: 1; }
.content-card-description { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); position: relative; z-index: 1; }

/* CTA Section */
#about-cta-section { display: flex; flex-wrap: wrap; min-height: 70vh; width: 100%; background-color: var(--brand-green-dark); }
.cta-panel { flex: 1; min-width: 300px; display: flex; justify-content: center; align-items: center; padding: 4rem; box-sizing: border-box; }
.cta-image-panel { position: relative; overflow: hidden; flex-basis: 45%; }
.cta-image-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; animation: ken-burns 20s infinite; background-image: url('../images/about-cta-background.png');}
@keyframes ken-burns { 0% { transform: scale(1.1) translate(0, 0); } 50% { transform: scale(1.15) translate(5%, -5%); } 100% { transform: scale(1.1) translate(0, 0); } }
.cta-image-panel::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 70, 32, 0.3); }
.cta-content-panel { flex-basis: 55%; background-color: var(--brand-green-dark); color: var(--text-on-dark); }
.cta-content { max-width: 550px; }
.cta-eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.9rem; margin-bottom: 1rem; color: var(--brand-green-mid); }
.cta-heading { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; line-height: 1.2; margin: 0 0 1.5rem 0; }
.cta-subheading { font-size: 1.1rem; line-height: 1.7; color: var(--brand-green-light); opacity: 0.9; margin: 0 0 2.5rem 0; }


/* --- 4. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
    #about-us-hero { height: 100vh; }
    #about-us-hero .hero-background { background-image: url('../images/about-hero-background-mobile.png'); background-position: center; }
    .about-us-hero-title { font-size: 2.5rem; }
    .about-us-hero-text { font-size: 1rem; }
    .btn-primary, .cta-button { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
    #story-section-alt { padding: 4rem 0; }
    .story-alt-content-panel { padding: 0 1.5rem; }
    .story-header, .story-chapter { text-align: center; }
    .story-accent { margin: 1rem auto 1.5rem auto; }
    .story-intro, .chapter-description { margin-left: auto; margin-right: auto; }
    .chapter-date { margin-left: auto; margin-right: auto; }
    .story-chapter { min-height: auto; padding-bottom: 4rem; }
    .mobile-story-toggle-wrapper { display: block; }
    .story-chapters-wrapper { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.7s ease-in-out, opacity 0.7s ease-in-out; }
    .story-chapters-wrapper.expanded { max-height: 2000px; opacity: 1; }
    .story-chapter { opacity: 1; }
    #vision-mission-section { flex-direction: column; min-height: auto; }
    .vm-panel { padding: 5rem 2rem; }
    .vm-heading { font-size: 2.5rem; }
    .vm-text { font-size: 1.1rem; }
    .vm-content { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
    .vm-eyebrow, .vm-accent { margin-left: auto; margin-right: auto; }
    .mission-pillars { align-items: center; }
    .mission-pillars li { flex-direction: column; text-align: center; gap: 0.75rem; }
    #core-pillars-section { padding: 4rem 1.5rem; }
    .pillars-heading { font-size: 2.5rem; }
    .pillars-intro { font-size: 1.1rem; }
    #impact-blueprint-section { padding: 4rem 1.5rem; }
    .impact-blueprint-heading { font-size: 2.25rem; }
    .impact-blueprint-intro { font-size: 1.1rem; }
    .impact-blueprint-content-wrapper { flex-direction: row; flex-wrap: wrap; }
    .blueprint-content-card { position: relative; margin-top: 1rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08); padding: 1.5rem; height: 0; overflow: hidden; transition: height 0.5s ease-out, opacity 0.5s ease-out, transform 0.5s ease-out; }
    .blueprint-content-card.active { height: auto; opacity: 1; transform: translateY(0); }
    .cta-panel { flex-basis: 100%; padding: 4rem 2rem; }
    .cta-image-panel { min-height: 300px; }
    .cta-content { text-align: center; }
    .cta-heading { font-size: 2.5rem; }
}

@media (min-width: 992px) {
    #about-us-hero { height: 100vh; }
    .about-us-hero-title { font-size: 4.2rem; }
    .about-us-hero-text { font-size: 1.4rem; }
    .story-alt-container { grid-template-columns: 4fr 5fr; gap: 5rem; }
    .story-alt-image-panel { position: sticky; top: 8rem; height: 70vh; }
    #vision-mission-section:hover .vm-panel:not(:hover) { flex: 0.8; }
    .vm-panel:hover { flex: 1.2; }
    .vm-panel:hover::before { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-blueprint-content-wrapper { flex-direction: row; gap: 4rem; align-items: flex-start; }
    .blueprint-node-list { flex: 1; max-width: 350px; }
    .blueprint-content-panel { flex: 2; }
}

@media (min-width: 1200px) {
    .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
    .pillar-card { padding: 1.5rem; }
    .pillar-card .pillar-title { font-size: 1.5rem; }
    .blueprint-node-item { padding: 1rem; gap: 0.75rem; }
    .node-label { font-size: 1rem; }
    .content-card-title { font-size: 1.5rem; }
    .content-card-description { font-size: 0.95rem; }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .btn-primary, .cta-button,
    .btn-shimmer::before, .cta-button::before,
    .hero-content,
    .fade-in-up,
    .story-alt-image,
    .story-chapter,
    .vm-panel,
    .vm-panel::before,
    .vm-content,
    .pillar-icon-wrapper,
    .pillar-icon-inner,
    .pillar-icon-base, .pillar-icon-detail,
    .pillar-card,
    .pillar-background,
    .pillar-overlay,
    .pillar-content .pillar-title,
    .pillar-subtitle,
    .pillar-description,
    .blueprint-node-item,
    .blueprint-node-item::before,
    .blueprint-content-card,
    .blueprint-content-card::before,
    .cta-image-background {
        transition: none !important;
        animation: none !important;
    }
}
