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

:root {
    --charcoal: #242424;
    --charcoal-soft: #343434;
    --red: #e52b35;
    --red-dark: #bd1e28;
    --cream: #f5f1eb;
    --white: #ffffff;
    --text: #292929;
    --muted: #686868;
    --border: #ded9d2;
    --page-width: 1180px;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.site-header {
    position: relative;
    z-index: 10;
    color: var(--white);
    background: var(--charcoal);
    border-bottom: 4px solid var(--red);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    width: min(calc(100% - 40px), var(--page-width));
    min-height: 100px;
    margin: 0 auto;
}

.header-logo {
    width: 70px;
    height: 88px;
    object-fit: contain;
}

.header-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-title strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 400;
}

.header-title span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.header-contact {
    margin-left: auto;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.header-contact:hover,
.header-contact:focus-visible {
    color: #ffb4b8;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.58) 42%, rgba(20, 20, 20, 0.08) 72%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: max(20px, calc((100% - var(--page-width)) / 2));
    width: min(650px, calc(100% - 40px));
    color: var(--white);
    transform: translateY(-50%);
}

.hero-content p {
    margin: 0 0 14px;
    color: #ff737a;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 620px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.7rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.hero-content span {
    display: block;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.section {
    padding: 92px 20px;
}

.section-inner {
    width: min(100%, var(--page-width));
    margin: 0 auto;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.7fr);
    gap: clamp(50px, 8vw, 120px);
    align-items: start;
}

.section-heading span {
    display: block;
    margin-bottom: 8px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: var(--charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1;
}

.bilingual-copy p {
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.bilingual-copy p + p {
    margin-top: 25px;
    padding-top: 25px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 1rem;
}

.mission {
    background: var(--white);
}

.vision {
    background: var(--cream);
}

.values {
    padding: 80px 20px;
    color: var(--white);
    background: var(--red);
    text-align: center;
}

.values-inner p {
    margin: 0 0 4px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.values-inner h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
}

.team {
    background: var(--white);
}

.section-heading.centered {
    margin-bottom: 48px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.team-member {
    min-height: 185px;
    padding: 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.team-member h3 {
    margin: 0 0 10px;
    color: var(--charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.2;
}

.team-member strong {
    display: block;
    color: var(--red-dark);
    font-size: 0.82rem;
    line-height: 1.35;
    text-transform: uppercase;
}

.team-member p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.scholarship {
    padding: 86px 20px;
    color: var(--white);
    background: var(--charcoal-soft);
}

.scholarship-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.75fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}

.scholarship-copy span {
    color: #ff7c83;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.scholarship-copy h2 {
    max-width: 720px;
    margin: 8px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4.4vw, 4.4rem);
    font-weight: 400;
    line-height: 1.05;
}

.scholarship-copy p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

.scholarship-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 26px;
    color: var(--white);
    background: var(--red);
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.scholarship-button:hover,
.scholarship-button:focus-visible {
    background: var(--red-dark);
    transform: translateY(-3px);
}

.scholarship-button small {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer {
    color: var(--white);
    background: #181818;
    border-top: 4px solid var(--red);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    width: min(calc(100% - 40px), var(--page-width));
    min-height: 180px;
    margin: 0 auto;
    padding: 28px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand img {
    width: 58px;
    height: 76px;
    object-fit: contain;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.footer-brand span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    font-style: normal;
    text-align: center;
}

.footer-contact a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.footer-contact a:first-of-type {
    margin-top: 8px;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: #ff858b;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-credit {
    justify-self: end;
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.8rem;
    text-align: right;
}

.footer-credit strong {
    color: var(--white);
}

a:focus-visible {
    outline: 3px solid #ff7279;
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .section-grid,
    .scholarship-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-credit {
        grid-column: 1 / -1;
        justify-self: center;
        text-align: center;
    }
}

@media (max-width: 650px) {
    .header-inner {
        min-height: 84px;
    }

    .header-logo {
        width: 52px;
        height: 68px;
    }

    .header-title span,
    .header-contact {
        display: none;
    }

    .hero,
    .hero-image {
        min-height: 480px;
        height: 480px;
    }

    .hero-image {
        object-position: 64% center;
    }

    .hero-overlay {
        background: rgba(20, 20, 20, 0.64);
    }

    .hero-content {
        left: 20px;
    }

    .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

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

    .scholarship {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 25px;
        text-align: center;
    }

    .footer-credit {
        grid-column: auto;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
