/* Homepage: School-inspired full-bleed photography and editorial sections. */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 690px;
    padding: 120px max(6%, calc((100% - 1200px) / 2)) 105px;
    isolation: isolate;
    background: #243673;
}
.hero-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 720px);
}
.hero h1, .hero h1 .hl { color: #fff; }
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 6.8vw, 6.4rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.02em;
}
.hero p.lead {
    max-width: 650px;
    margin: 24px 0 32px;
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
}
.hero .btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-control, 8px); padding: 15px 25px; font-weight: 600; text-decoration: none; }
.hero .btn-primary { color: #fff; background: #3939c8; }
.hero .btn-primary:hover { background: #28289e; }
.hero .btn-ghost { color: var(--brand); border: 1px solid var(--brand); background: #fff; }
.hero .btn-ghost:hover { color: #fff; background: var(--brand); }
.hero-carousel {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}
.hero-carousel-viewport::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 26, 57, .86), rgba(15, 26, 57, .38) 72%), linear-gradient(0deg, rgba(15, 26, 57, .45), transparent 70%);
    pointer-events: none;
}
.hero-carousel-button { z-index: 3; top: auto; bottom: 30px; transform: none; }
.hero-carousel-button:hover { background: #fff; color: var(--brand-deep); }
.hero-carousel-previous { left: auto; right: 82px; }
.hero-carousel-next { right: 30px; }
.hero-carousel-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.home-advantages, .home-about-section, .home-about-details, .partner-section {
    padding: 104px max(6%, calc((100% - 1200px) / 2));
}
.home-advantages { background: #fff; }
.home-advantages > h2, .home-advantages > .sub { text-align: left; }
.home-advantages > .sub { max-width: 680px; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.advantage-card {
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    overflow: visible;
    border: 0;
    border-radius: var(--radius-card, 16px);
    background: #fff;
    box-shadow: var(--shadow-card, 0 8px 28px rgba(25, 42, 90, .08));
    transition: transform var(--motion-standard, 240ms ease), box-shadow var(--motion-standard, 240ms ease);
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover, 0 14px 32px rgba(25, 42, 90, .14)); }
.advantage-card img { position: static; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.advantage-card:hover img { transform: none; }
.advantage-card .adv-overlay { position: static; padding: 22px; border: 0; background: transparent; }
.advantage-card .adv-overlay b { color: #243673; font-size: 1.12rem; font-weight: 600; }
.advantage-card:hover .adv-overlay b { transform: none; }

.home-about-section { background: #f6f7fd; }
.home-about-layout { max-width: 1200px; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 95px); }
.home-about-frame { max-height: none; border-radius: var(--radius-card, 16px); overflow: hidden; box-shadow: var(--shadow-card, 0 8px 28px rgba(25, 42, 90, .08)); }
.home-about-frame img { height: 100%; min-height: 400px; max-height: 550px; object-fit: cover; }
.home-about-copy .sub { line-height: 1.9; }
.home-about-copy .btn { border-radius: var(--radius-control, 8px); }
.home-about-details { background: #fff; }
.home-about-details .mission-title, .home-about-details .mission-subtitle { text-align: left; }
.mission-grid { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 36px; }
.mission-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-card, 16px); background: #fff; box-shadow: var(--shadow-card, 0 8px 28px rgba(25, 42, 90, .08)); }
.mission-card .mission-no { color: #4747d7; opacity: 1; font: 400 1.1rem Georgia, serif; }
.mission-card h4 { color: #243673; font-size: 1.2rem; }
.mission-card p { font-size: 1rem; }
.partner-section { background: #f6f7fd; }
.partner-section .section-head { margin-bottom: 32px; }
.partner-card { border-radius: var(--radius-card, 16px); overflow: hidden; box-shadow: var(--shadow-card, 0 8px 28px rgba(25, 42, 90, .08)); }

@media (max-width: 900px) {
    .hero { min-height: 620px; padding: 100px 6% 105px; }
    .home-advantages, .home-about-section, .home-about-details, .partner-section { padding: 75px 6%; }
    .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-about-layout{ grid-template-columns: 1fr; }
    .home-about-frame img { min-height: 0; }
}
@media (max-width: 600px) {
    .hero { min-height: 600px; padding: 90px 6% 105px; }
    .hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
    .hero p.lead { font-size: 1rem; }
    .hero-carousel-previous { right: 65px; }
    .hero-carousel-next { right: 18px; }
    .home-advantages, .home-about-section, .home-about-details, .partner-section { padding: 60px 6%; }
    .advantage-grid { gap: 24px 14px; }
    .advantage-card .adv-overlay b { font-size: 1rem; }
    .mission-grid { grid-template-columns: 1fr; }
}

/* Complete homepage and shared carousel primitives, independent of site.css. */
.hero-carousel { overflow: hidden; }
.hero-carousel-viewport { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-img.is-active { opacity: 1; }
.hero-carousel-button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(20, 30, 60, .48); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background-color var(--motion-standard, 240ms ease), color var(--motion-standard, 240ms ease); }
.hero-carousel-dots { position: absolute; z-index: 3; left: max(6%, calc((100% - 1200px) / 2)); bottom: 30px; display: flex; align-items: center; gap: 2px; }
.hero-carousel-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-carousel-dot::before { content: ''; width: 9px; height: 9px; border: 1px solid #fff; border-radius: 50%; background: transparent; transition: background-color var(--motion-standard, 240ms ease), transform var(--motion-standard, 240ms ease); }
.hero-carousel-dot[aria-current="true"]::before { background: #fff; transform: scale(1.25); }
.hero-carousel-dot:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.home-advantages h2, .home-about-copy h2, .home-about-details h3, .partner-section h3 { margin: 0 0 16px; }
.home-advantages .sub, .home-about-copy .sub, .home-about-details .sub, .partner-section .sub { color: #606a80; line-height: 1.8; }
.home-about-layout { display: grid; align-items: center; margin: 0 auto; }
.home-about-copy .home-about-description + .home-about-description { margin-top: 16px; }
.home-about-copy .btn { margin-top: 24px; }
.mission-grid { display: grid; }
.mission-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.mission-head h4, .mission-card p { margin: 0; }
.mission-card p { color: #606a80; line-height: 1.8; }
.partner-carousel-shell { position: relative; padding: 0 48px; }
.partner-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.partner-carousel::-webkit-scrollbar { display: none; }
.partner-card { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; scroll-snap-align: start; background: #fff; }
.partner-photo-frame { overflow: hidden; aspect-ratio: 921 / 569; background: #eef1f9; }
.partner-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.partner-name { display: block; min-height: 70px; padding: 16px; color: #243673; font-weight: 600; line-height: 1.45; text-align: center; overflow-wrap: anywhere; }
.partner-name small { display: block; color: #606a80; font-size: .875rem; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.partner-name-airport { white-space: pre-line; }
.partner-arrow { position: absolute; z-index: 2; top: var(--carousel-image-center, 50%); display: grid; place-items: center; width: 40px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--brand); font-size: 30px; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background-color var(--motion-standard, 240ms ease), color var(--motion-standard, 240ms ease); }
.partner-arrow:hover { background: var(--brand); color: #fff; }
.partner-prev { left: 0; }
.partner-next { right: 0; }
.partner-arrow:focus-visible, .partner-carousel:focus-visible { outline: 2px solid #3939c8; outline-offset: 3px; }
@media (max-width: 900px) { .partner-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .partner-card { flex-basis: 100%; } .partner-carousel-shell { padding: 0 34px; } }
@media (prefers-reduced-motion: reduce) { .hero-img,.hero-carousel-button,.hero-carousel-dot::before,.partner-arrow,.advantage-card { transition: none; } .partner-carousel { scroll-behavior: auto; } .advantage-card:hover { transform: none; } }

/* Narrative sequence: introduction, an image-led overview, then the mission. */
.home-about-section { background: #fff; }
.home-about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(52px, 8vw, 110px); }
.home-about-copy { grid-column: 1; grid-row: 1; }
.home-about-frame { grid-column: 2; grid-row: 1; align-self: stretch; }
.home-about-frame img { display: block; width: 100%; height: 100%; min-height: 480px; max-height: none; }
.home-about-copy h2 { max-width: 12ch; font-size: clamp(2.25rem, 4vw, 3.4rem); line-height: 1.2; }
.home-about-copy .home-about-description { max-width: 58ch; }
.home-advantages { background: #f6f7fd; }
.home-advantages > h2 { max-width: 700px; font-size: clamp(2.25rem, 4vw, 3.4rem); }
.home-advantages > .sub { max-width: 680px; }
.advantage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.advantage-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.advantage-card img { flex: none; width: 100%; aspect-ratio: 4 / 3; }
.advantage-card .adv-overlay { flex: 1 0 auto; padding: 22px; overflow-wrap: anywhere; }
.advantage-card .adv-overlay p { margin-top: 8px; color: #606a80; font-size: .95rem; line-height: 1.7; }
.home-about-details { background: #fff; }
.home-about-details .mission-title { font-size: clamp(2.25rem, 4vw, 3.4rem); }
.mission-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.mission-card { border-top: 2px solid #3939c8; }
.mission-head { display: block; }
.mission-head .mission-no { display: block; margin-bottom: 18px; } .partner-section h3 { font-size: clamp(2.25rem, 4vw, 3.4rem); }
.partner-section { background: #f6f7fd; }

@media (max-width: 900px) {
    .home-about-layout { grid-template-columns: 1fr; }
    .home-about-copy { grid-column: 1; grid-row: 1; }
    .home-about-frame { grid-column: 1; grid-row: 2; }
    .home-about-frame img { min-height: 0; max-height: 520px; }
    .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
}
@media (max-width: 600px) {
    .home-about-layout { gap: 36px; }
    .advantage-grid { gap: 22px 14px; }
    .mission-grid { grid-template-columns: 1fr; }
    .mission-head { display: flex; }
    .mission-head .mission-no { margin-bottom: 0; }
}
@media (max-width: 480px) {
    .advantage-grid { grid-template-columns: 1fr; }
    .hero-carousel-dots { left: 6%; }
}
