:root {
    --color-charcoal: #231f20;
    --color-gray-warm: #9a9a9a;
    --color-gray-light: #e5e3e3;
    --color-gray-bg: #f5f5f5;
    --color-white: #ffffff;
    --font-primary: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
    
    --fs-sm: clamp(0.7rem, 0.7rem + 0.2vw, 0.8rem);
    --fs-base: clamp(0.8rem, 0.8rem + 0.2vw, 0.9rem);
    --fs-md: clamp(0.9rem, 0.9rem + 0.4vw, 1.2rem);
    --fs-lg: clamp(1.2rem, 1.2rem + 0.8vw, 1.8rem);
    --fs-xl: clamp(1.6rem, 1.6rem + 1.2vw, 2.8rem);
    --fs-2xl: clamp(2rem, 2rem + 1.6vw, 4rem);
    --fs-3xl: clamp(2.4rem, 2.4rem + 2.4vw, 4.8rem);
    
    --side-margin: clamp(40px, 5vw, 80px);
    --mobile-side-margin: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--color-charcoal);
    line-height: 1.4;
    background-color: var(--color-white);
    font-size: var(--fs-base);
    margin: 0;
    width: 100%;
}

h1 { 
    font-size: var(--fs-2xl); 
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

h2 { 
    font-size: var(--fs-xl); 
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

h3 { 
    font-size: var(--fs-lg); 
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

h4 { 
    font-size: var(--fs-md); 
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

p {
    line-height: 1.4;
    font-size: var(--fs-base);
    margin-bottom: 0.8rem;
}

.max-readable-width {
    max-width: 65ch;
}

.hero {
    position: relative;
    width: 100%;
    filter: brightness(0.95);
    background-image: url('../images/739244437.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; 
}

.hero-overlay {
    display: flex;
    justify-content: center;
    align-items: center; 
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.4) 100%);
}

.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 var(--side-margin);
}

.hero-logo {
    width: min(30%, 300px);
    height: auto;
    padding: 20px 0 30px 0;
}

.mission-section {
    padding: 40px var(--side-margin);
    text-align: center;
    margin: 0 auto;
    background: #e5e3e3;
    width: 100%;
}

.mission-title {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: var(--fs-2xl);
    font-weight: 300;
    font-style: italic;
    color: var(--color-gray-warm);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.mission-text {
    font-size: var(--fs-lg);
    font-weight: 300;
    color: #555;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.3;
}

.focus-areas {
    padding: 60px var(--side-margin) 40px var(--side-margin);
    text-align: center;
}

.focus-areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 2vw, 30px);
    max-width: 90%;
    margin: 0 auto;
}

.focus-item {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: var(--fs-xl);
    font-style: italic;
    font-weight: 300;
    color: var(--color-charcoal);
    letter-spacing: 0.02em;
    padding: 8px 16px;
    line-height: 1.2;
}

.focus-row-1 {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 60px);
    width: 100%;
    margin-bottom: 10px;
}

.focus-row-1 .focus-item:nth-child(2) {
    white-space: nowrap;
}

.focus-row-2 {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 60px);
    width: 100%;
}

.team-section {
    background-color: var(--color-white);
    width: 100%;
    position: relative;
    padding: 0 var(--side-margin);
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 45%;*/
    height: 473px;
    background-color: #adadad;
    z-index: 0;
}

.founders-row {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 50px);
    flex-wrap: wrap;
    align-content: flex-end;
    position: relative;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: center;
    max-width: 1042px;
    margin: 0 auto;
}

.founders-row:after {
    content: '';
    position: absolute;
    width: 100%;
    display: block;
    height: 60px;
    bottom: -21px;
    z-index: 1;
}

.founder-card {
    flex-direction: column;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.founder-image-container {
    width: 100%;
    position: relative;
}

.founder-card img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    font-size: var(--fs-md);
    font-weight: 300;
    text-align: center;
    padding: 12px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.founder-name {
    text-align: center;
    padding: 8px;
    font-size: var(--fs-md);
    font-weight: 400;
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.2;
}

.children-row {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 6vw, 150px);
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 40px 0 0 0;
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    max-width: 1300px;
    margin: 0 auto;
}

.child-card {
    text-align: center;
    width: min(350px, 85vw);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}

.child-card img {
    width: 100%;
    height: auto;
    display: block;
}

.child-name {
    padding: 15px 0px;
    font-size: var(--fs-md);
    font-weight: 400;
    color: var(--color-charcoal);
    background-color: var(--color-white);
    margin-top: auto;
    line-height: 1.2;
}

.about-section {
    padding: 40px var(--side-margin);
    text-align: center;
    max-width: 70%;
    margin: 0 auto;
}

.about-text {
    font-size: var(--fs-md);
    font-weight: 300;
    color: #555;
    line-height: 1.3;
}

.footer {
    background: var(--color-gray-light);
    padding: 95px var(--side-margin) 60px var(--side-margin);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    position: relative;
    max-width: 100vw;
    overflow: visible;
    margin-top: 40px;
}

.footer-contact {
    color: var(--color-charcoal);
    font-size: var(--fs-base);
    font-weight: 400;
    flex: 1;
    padding: 20px 40px 20px 0;
    line-height: 1.3;
    min-width: 300px;
}

.footer-contact a {
    color: var(--color-charcoal);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    position: absolute;
    right: var(--side-margin);
    top: -80px;
    z-index: 10;
}

.footer-logo-img {
    width: 200px;
    height: auto;
}

.footer-established {
    font-size: var(--fs-base);
    font-family: 'Cormorant Garamond', serif;
}

@media (max-width: 1360px) {
    .children-row{gap: clamp(5px, 10vw, 10px);}
}
@media (max-width: 1240px) { 
    .team-section::before{background:none;} 
}

/* MOBILE ONLY STYLES (768px and below) */
@media (max-width: 768px) {
    :root {
        --side-margin: var(--mobile-side-margin);
    }
 

    .hero-logo {
        width: min(60%, 220px);
        padding: 15px 0 20px 0;
    }

    .mission-section {
        padding: 30px var(--mobile-side-margin);
    }
    
    .mission-title {
        font-size: var(--fs-xl);
    }
    
    .mission-text {
        font-size: var(--fs-lg);
        max-width: 95%;
    }

    .focus-areas {
        padding: 20px var(--mobile-side-margin) 0 var(--mobile-side-margin);
    }
    
    .focus-row-1,
    .focus-row-2 {
        flex-direction: column;
        gap: 10px;
    }
    
    .focus-item { 
        padding: 6px 12px;
    }
    
    .team-section {
        padding: 0 var(--mobile-side-margin);
    }
    
    .team-section::before {
        height: 40%;
    }
    
    .founders-row { 
        padding-top: 30px;
    }
    
    .founder-card {
    }
    
    .founder-name,
    .child-name {
        font-size: var(--fs-base);
        font-weight: bold;
    }
    
    .children-row {
        padding-top: 30px;
        align-content: center;
        justify-content: center;
    }
    
 
    
    .about-section {
        padding: 30px var(--mobile-side-margin);
        max-width: 95%;
    }
    
    .about-text {
        font-size: var(--fs-base);
    }
    
    .footer {
        padding: 20px var(--mobile-side-margin) 20px var(--mobile-side-margin);
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-contact {
        padding: 20px 0;
        min-width: auto;
        width: 100%;
        font-size: var(--fs-sm);
    }
    
    .footer-logo {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
    }
    
    .footer-logo-img {
        width: 150px;
    }
    
    .footer-established {
        font-size: var(--fs-sm);
    }
}

/* SMALL MOBILE ONLY (480px and below) */
@media (max-width: 480px) {
    .hero {
        min-height: 35vh;
    }

    .hero-overlay {
        min-height: 35vh;
    }

    .hero-logo {
        width: 70%;
        padding: 10px 0 15px 0;
    }
    
    .focus-item {
          font-size: var(--fs-lg); 
    }
    .children-row,.founders-row{display: block;}
    .children-row {
    }
    
 
    
    .footer-logo {
        margin-top: -20px;
    }
    
    .footer-logo-img {
        width: 130px;
    }
}

 

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

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

section, .hero {
    width: 100%;
    max-width: 100vw;
}