/* ============================================
   Edenfield Schools — Brand Theme
   Purple · Baby Pink · Yellow
   ============================================ */

:root {
    --clr-theme-primary: #6B2D91;
    --clr-theme-primaryDark: #4A1A6B;
    --clr-theme-primary-rgb: 107, 45, 145;
    --clr-theme-primary-4: #F5C518;
    --clr-theme-primary-5: #FFE56D;
    --clr-color-lightPink: #FDE8F0;
    --clr-color-lightPurple: #F6F0FB;
    --clr-body-heading: #2A1240;
    --clr-body-text: rgba(42, 18, 64, 0.68);

    --eden-purple: #6B2D91;
    --eden-purple-deep: #4A1A6B;
    --eden-magenta: #E85A9B;
    --eden-pink: #F7C6D9;
    --eden-pink-soft: #FDE8F0;
    --eden-yellow: #F5C518;
    --eden-yellow-soft: #FFF4C4;
    --eden-cream: #FFF9FC;
    --eden-ink: #2A1240;
    --eden-muted: rgba(42, 18, 64, 0.68);
    --eden-radius: 22px;
    --eden-shadow: 0 18px 50px rgba(107, 45, 145, 0.12);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--eden-ink);
    background: var(--eden-cream);
    overflow-x: hidden;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.breadcrumb-title,
.banner-content .section-title,
.cta-title {
    font-family: "Fraunces", Georgia, serif;
    color: var(--eden-ink);
    font-weight: 600;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Top bar ---------- */
.eden-topbar {
    background: linear-gradient(90deg, var(--eden-purple-deep), var(--eden-purple) 55%, #8B3BB5);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
}

.eden-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.eden-topbar a,
.eden-topbar span {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eden-topbar a:hover {
    color: var(--eden-yellow);
}

.eden-topbar-motto {
    font-style: italic;
    opacity: 0.92;
}

/* ---------- Header / logo ---------- */
.header-area {
    background: rgba(255, 249, 252, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(107, 45, 145, 0.08);
    z-index: 50;
}

.header-sticky.sticky {
    box-shadow: 0 10px 40px rgba(107, 45, 145, 0.12);
    background: rgba(255, 255, 255, 0.97);
}

.eden-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
}

.header-logo {
    padding-right: 0;
    margin-right: 0;
    flex-shrink: 0;
}

.header-logo::after {
    display: none;
}

.header-logo img,
.footer-logo img,
.sidebar-logo img {
    height: 48px;
    width: auto;
    max-width: 176px;
    object-fit: contain;
}

.eden-header-bar .main-menu {
    flex: 1;
    justify-content: center;
}

@media (min-width: 1200px) {
    .eden-header-bar .main-menu.d-xl-block {
        display: flex !important;
    }
}

.eden-header-bar .main-menu ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 5px;
    background: rgba(107, 45, 145, 0.06);
    border-radius: 999px;
}

.eden-header-bar .main-menu ul li {
    margin: 0 !important;
    display: inline-flex;
}

.eden-header-bar .main-menu ul li a {
    font-size: 14px !important;
    font-weight: 650;
    white-space: nowrap;
    color: var(--eden-ink) !important;
    padding: 9px 15px !important;
    border-radius: 999px;
    line-height: 1.2;
}

.eden-header-bar .main-menu ul li a::after {
    display: none;
}

.eden-header-bar .main-menu ul li.active a,
.eden-header-bar .main-menu ul li:hover a {
    background: #fff;
    color: var(--eden-purple) !important;
    box-shadow: 0 8px 22px rgba(107, 45, 145, 0.12);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-menu-bar-icon,
button.header-menu-bar-icon,
span.header-menu-bar-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1.5px solid rgba(107, 45, 145, 0.16) !important;
    background: #fff !important;
    color: var(--eden-purple) !important;
    display: grid;
    place-items: center;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(107, 45, 145, 0.1);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, background 0.35s ease;
}

@media (min-width: 1200px) {
    .eden-header-bar .header-menu-bar-icon {
        display: none !important;
    }
}

.header-menu-bar-icon:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(107, 45, 145, 0.18);
    color: var(--eden-magenta) !important;
}

.side-info {
    background: linear-gradient(180deg, #2A1240, #1a0b28);
    transition: right 0.45s cubic-bezier(.22, 1, .36, 1) !important;
}

.offcanvas-overlay {
    transition: opacity 0.45s ease, visibility 0.45s ease !important;
}

.mobile-menu ul li a {
    color: #fff !important;
    font-weight: 600;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo,
.footer-logo {
    background: #fff;
    border-radius: 14px;
    padding: 8px 12px;
    display: inline-flex;
}

.theme-btn,
.header-btn.theme-btn {
    background: linear-gradient(135deg, var(--eden-purple), #8B3BB5);
    border: 0;
    color: #fff !important;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(107, 45, 145, 0.28);
}

.theme-btn:hover,
.header-btn.theme-btn:hover {
    background: linear-gradient(135deg, var(--eden-purple-deep), var(--eden-purple));
    transform: translateY(-2px);
    color: #fff !important;
}

.theme-btn.theme-btn-outline {
    background: transparent;
    color: var(--eden-purple) !important;
    border: 2px solid var(--eden-purple);
    box-shadow: none;
}

.theme-btn.theme-btn-outline:hover {
    background: var(--eden-purple);
    color: #fff !important;
}

.theme-btn.theme-btn-yellow {
    background: linear-gradient(135deg, var(--eden-yellow), #FFD54F);
    color: var(--eden-ink) !important;
    box-shadow: 0 10px 24px rgba(245, 197, 24, 0.35);
}

/* ---------- Hero ---------- */
.eden-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 80px;
    background:
        radial-gradient(circle at 8% 20%, rgba(247, 198, 217, 0.7) 0, transparent 42%),
        radial-gradient(circle at 92% 10%, rgba(245, 197, 24, 0.35) 0, transparent 36%),
        radial-gradient(circle at 80% 90%, rgba(107, 45, 145, 0.12) 0, transparent 40%),
        #fff;
}

.eden-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(247, 198, 217, 0.35);
    top: -120px;
    right: -80px;
}

.eden-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--eden-purple);
    border: 1px solid rgba(107, 45, 145, 0.12);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(107, 45, 145, 0.08);
}

.eden-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 4.1rem);
    line-height: 1.12;
    margin-bottom: 18px;
}

.eden-hero h1 span {
    display: inline-block;
    background: linear-gradient(90deg, var(--eden-purple), var(--eden-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eden-hero .lead {
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 28px;
}

.eden-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.eden-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.eden-hero-meta strong {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 1.35rem;
    color: var(--eden-purple);
}

.eden-hero-meta span {
    font-size: 13px;
    color: var(--eden-muted);
}

.eden-collage {
    position: relative;
    min-height: 520px;
    max-width: 100%;
}

.eden-collage img {
    object-fit: cover;
    box-shadow: var(--eden-shadow);
    transition: none !important;
}

.eden-collage .shot-1 {
    position: absolute;
    width: 58%;
    height: 68%;
    top: 0;
    left: 8%;
    border-radius: 32px 32px 12px 32px;
    border: 6px solid #fff;
    z-index: 2;
}

.eden-collage .shot-2 {
    position: absolute;
    width: 46%;
    height: 48%;
    right: 0;
    bottom: 18%;
    border-radius: 28px;
    border: 6px solid #fff;
    z-index: 3;
}

.eden-collage .shot-3 {
    position: absolute;
    width: 38%;
    height: 34%;
    left: 0;
    bottom: 0;
    border-radius: 50%;
    border: 6px solid #fff;
    z-index: 4;
}

.eden-badge {
    position: absolute;
    z-index: 5;
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--eden-shadow);
    font-weight: 700;
}

.eden-badge.yellow {
    background: var(--eden-yellow);
    right: 8%;
    top: 8%;
}

.eden-badge.pink {
    background: var(--eden-pink);
    left: 36%;
    bottom: 6%;
    color: var(--eden-ink);
}

/* ---------- Cards / sections ---------- */
.section-subtitle,
.eden-kicker.plain {
    color: var(--eden-magenta);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
}

.section-area .section-subtitle {
    color: var(--eden-magenta);
}

.eden-section {
    padding: 90px 0;
}

.eden-section.alt {
    background:
        linear-gradient(180deg, var(--eden-pink-soft), #fff 40%, var(--eden-cream));
}

.eden-card,
.pillar-card,
.class-card,
.level-chip {
    background: #fff;
    border-radius: var(--eden-radius);
    box-shadow: 0 12px 40px rgba(107, 45, 145, 0.08);
    border: 1px solid rgba(107, 45, 145, 0.06);
    transition: box-shadow 0.35s ease;
}

.eden-card.revealed:hover,
.pillar-card.revealed:hover,
.class-card.revealed:hover,
.track-card.revealed:hover {
    transform: translateY(-12px);
    box-shadow: var(--eden-shadow);
}

.pillar-card {
    padding: 32px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pillar-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    right: -20px;
    top: -20px;
    background: var(--eden-pink-soft);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.pillar-icon.p1 { background: var(--eden-yellow-soft); color: #b8860b; }
.pillar-icon.p2 { background: #f3e8ff; color: var(--eden-purple); }
.pillar-icon.p3 { background: var(--eden-pink-soft); color: var(--eden-magenta); }
.pillar-icon.p4 { background: #fff4d6; color: #c47a00; }

.class-card {
    overflow: hidden;
    height: 100%;
}

.class-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.class-card .body {
    padding: 24px;
}

.level-chip {
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    box-shadow: none;
}

.level-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.level-chip.purple { background: var(--eden-purple); color: #fff; }
.level-chip.pink { background: var(--eden-pink); color: var(--eden-ink); }
.level-chip.yellow { background: var(--eden-yellow); color: var(--eden-ink); }
.level-chip.soft { background: var(--eden-pink-soft); color: var(--eden-purple); }

/* ---------- Welcome / quote ---------- */
.welcome-section {
    overflow: hidden;
}

.welcome-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px 48px;
    align-items: stretch;
}

.welcome-photo {
    margin: 0;
    position: relative;
    align-self: stretch;
    min-height: 480px;
    border-radius: 28px;
    overflow: hidden;
    background: #f6eefb;
    box-shadow: var(--eden-shadow);
}

.welcome-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 0;
    border-radius: 0;
    max-height: none;
    min-height: 0;
}

.welcome-copy {
    min-width: 0;
}

.welcome-copy .section-title {
    margin-bottom: 20px;
}

.welcome-card {
    background: #fff;
    border-radius: 28px;
    padding: 36px;
    box-shadow: var(--eden-shadow);
    border-left: 8px solid var(--eden-yellow);
    height: auto;
}

.welcome-card .emoji {
    font-size: 2rem;
}

.director-photo {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top;
    border-radius: 28px;
    box-shadow: var(--eden-shadow);
    border: 8px solid #fff;
}

.director-name {
    margin-top: 8px;
}

/* ---------- Stats ---------- */
.eden-stats {
    margin-top: -36px;
    position: relative;
    z-index: 4;
}

.eden-stats-grid {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--eden-shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.eden-stat {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(107, 45, 145, 0.08);
}

.eden-stat:last-child { border-right: 0; }

.eden-stat b {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 1.7rem;
    color: var(--eden-purple);
}

/* ---------- Gallery tiles ---------- */
.gallery-tile {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 240px;
    box-shadow: 0 10px 30px rgba(107, 45, 145, 0.1);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.gallery-tile:hover img {
    transform: scale(1.07);
}

.gallery-tile.tall { height: 500px; }
.gallery-tile.mid { height: 240px; }

.innerPage_gallery-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
}

.innerPage_gallery-item {
    border-radius: 18px;
    overflow: hidden;
}

.innerPage_gallery-tab .nav-link {
    border: 0;
    background: var(--eden-pink-soft);
    color: var(--eden-purple);
    font-weight: 700;
    border-radius: 999px;
    margin: 0 6px 10px;
    padding: 10px 20px;
}

.innerPage_gallery-tab .nav-link.active {
    background: var(--eden-purple);
    color: #fff;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-area {
    background:
        linear-gradient(120deg, rgba(74, 26, 107, 0.88), rgba(232, 90, 155, 0.72)),
        url("../img/gallery/campus/school-entrance.jpg") center/cover no-repeat !important;
    padding: 90px 0 80px;
}

.breadcrumb-area::before { display: none; }

.breadcrumb-title,
.breadcrumb-list,
.breadcrumb-list a,
.breadcrumb-list span {
    color: #fff !important;
}

/* ---------- CTA / footer ---------- */
.cta-area,
.eden-cta {
    background: linear-gradient(135deg, #4A1A6B 0%, #6B2D91 48%, #8B3BB5 100%);
    position: relative;
    overflow: hidden;
}

.cta-wrapper,
.eden-cta .inner {
    background: transparent;
    color: #fff;
}

.eden-cta .cta-subtitle {
    display: inline-block;
    background: var(--eden-yellow) !important;
    color: var(--eden-ink) !important;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.eden-cta .cta-subtitle::before {
    display: none;
}

.eden-cta .cta-title,
.eden-cta h2 {
    color: #fff !important;
}

.eden-cta p {
    color: rgba(255, 255, 255, 0.92) !important;
}

.footer-area {
    background: #2A1240;
    color: rgba(255,255,255,0.78);
}

.footer-top {
    padding-top: 80px !important;
}

.footer-widget-title,
.copyright-text p,
.footer-widget-text {
    color: #fff !important;
}

.footer-widget-list ul li a {
    color: rgba(255,255,255,0.75) !important;
}

.footer-widget-list ul li:hover a {
    color: var(--eden-yellow) !important;
}

.footer-logo {
    background: #fff;
    display: inline-block;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 16px;
}

.copyright-area {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-social ul li a {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.footer-social ul li:hover a {
    background: var(--eden-magenta);
}

.footer-subscribe-form button {
    background: var(--eden-yellow) !important;
    color: var(--eden-ink) !important;
}

/* ---------- Forms ---------- */
.contact-form-input input,
.contact-form-input textarea,
.contact-form-input select,
.footer-subscribe-form input {
    border-radius: 14px !important;
    border-color: rgba(107, 45, 145, 0.15) !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--eden-purple) !important;
    box-shadow: 0 0 0 4px rgba(107, 45, 145, 0.12) !important;
    outline: none;
}

.contact-info-item span {
    color: var(--eden-purple);
    font-weight: 700;
}

/* ---------- Academics timeline ---------- */
.track-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    border-top: 6px solid var(--eden-purple);
    box-shadow: var(--eden-shadow);
}

.track-card.pink { border-top-color: var(--eden-magenta); }
.track-card.yellow { border-top-color: var(--eden-yellow); }

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mission-box {
    border-radius: 24px;
    padding: 32px;
    color: #fff;
}

.mission-box.vision {
    background: linear-gradient(160deg, var(--eden-purple), #8B3BB5);
}

.mission-box.mission {
    background: linear-gradient(160deg, #E85A9B, #F7C6D9);
    color: var(--eden-ink);
}

.story-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.wa-float:hover { transform: scale(1.06); color: #fff !important; }

/* ---------- 404 ---------- */
.eden-404 {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .eden-collage { min-height: 460px; }
}

.about-content-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-content-list ul li {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.about-content-list ul li::before {
    display: none;
}
.about-content-list i {
    color: var(--eden-purple);
    margin-top: 4px;
}

.header-area {
    z-index: 50;
}

@media (max-width: 991px) {
    .eden-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .eden-stat:nth-child(2) { border-right: 0; }
    .eden-collage {
        min-height: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 40px;
    }
    .eden-collage .shot-1,
    .eden-collage .shot-2,
    .eden-collage .shot-3 {
        position: static;
        width: 100%;
        height: 240px;
        border-radius: 20px;
    }
    .eden-collage .shot-3 { grid-column: 1 / -1; height: 200px; border-radius: 20px; }
    .eden-badge { display: none; }
    .mission-grid { grid-template-columns: 1fr; }
    .gallery-tile.tall { height: 240px; }
    .eden-section { padding: 64px 0; }
}

@media (max-width: 1199px) {
    .eden-topbar-motto { display: none; }
    .header-btn.theme-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .eden-topbar-inner { justify-content: center; }
    .eden-topbar-motto { display: none; }
    .header-logo img { height: 42px; max-width: 150px; }
    .eden-hero { padding: 36px 0 50px; }
    .eden-hero h1 { font-size: 2rem; }
    .welcome-card { padding: 22px; }
    .eden-stats { margin-top: 20px; }
    .eden-stats-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 28px !important; }
    .footer-widget.ml-80 { margin-left: 0 !important; }
}

@media (max-width: 480px) {
    .eden-hero-actions .theme-btn { width: 100%; text-align: center; }
}

@media print {
    .header-area, .footer-area, .cta-area, .sidebar-info, .wa-float, .eden-topbar {
        display: none !important;
    }
}

/* ---------- Media frames (text + image layouts) ---------- */
.media-frame {
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    background: #f6eefb;
    box-shadow: var(--eden-shadow);
}

.media-frame img,
.director-photo,
.story-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 0;
    border-radius: 28px;
    max-height: none;
}

.media-frame img {
    border-radius: 0;
    min-height: 420px;
    transition: transform 1.1s cubic-bezier(.22, 1, .36, 1) !important;
}

.media-frame:hover img {
    transform: scale(1.06);
}

.track-card img,
.class-card img,
.gallery-tile img {
    object-fit: cover;
    object-position: top center;
}

.eden-collage img {
    object-position: top center;
}

/* ---------- Admission split ---------- */
.admission-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
    min-height: 560px;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--eden-shadow);
}

.admission-copy {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admission-visual {
    position: relative;
    min-height: 560px;
    background: #f6eefb;
}

.admission-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    min-height: 0;
    max-height: none;
    transition: transform 1.2s cubic-bezier(.22, 1, .36, 1) !important;
}

.admission-split:hover .admission-visual img {
    transform: scale(1.04);
}

/* ---------- Motion ---------- */
.reveal {
    opacity: 0;
    transform: translateY(56px) scale(0.97);
}

.reveal.is-in {
    animation: eden-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
}

.reveal.revealed {
    animation: none;
    opacity: 1;
    transform: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.eden-kicker {
    animation: eden-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eden-hero h1 {
    animation: eden-rise 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.eden-hero .lead {
    animation: eden-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.eden-hero-actions,
.eden-hero-meta {
    animation: eden-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.eden-collage .shot-1 {
    animation:
        eden-hero-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both,
        eden-float 4.6s ease-in-out 1.1s infinite;
}

.eden-collage .shot-2 {
    animation:
        eden-hero-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both,
        eden-float 5.2s ease-in-out 1.2s infinite;
}

.eden-collage .shot-3 {
    animation:
        eden-hero-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both,
        eden-float 4.2s ease-in-out 1.3s infinite;
}

.eden-badge {
    animation: eden-pop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.theme-btn,
.header-btn.theme-btn {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease;
}

.wa-float {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

@keyframes eden-in {
    from {
        opacity: 0;
        transform: translateY(56px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes eden-rise {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

@keyframes eden-hero-in {
    from { opacity: 0; transform: translateY(48px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes eden-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-28px); }
}

@keyframes eden-pop {
    from { opacity: 0; transform: scale(0.82); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 991px) {
    .media-frame,
    .media-frame img,
    .director-photo,
    .story-photo {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 5;
    }
    .welcome-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .welcome-photo {
        min-height: 0;
        height: 420px;
        max-height: 480px;
    }
    .welcome-photo img {
        position: absolute;
        inset: 0;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
    }
    .welcome-card {
        height: auto;
    }
    .admission-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .admission-visual {
        order: -1;
        min-height: 280px;
        height: 320px;
    }
    .admission-copy { padding: 28px 22px 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .eden-kicker,
    .eden-hero h1,
    .eden-hero .lead,
    .eden-hero-actions,
    .eden-hero-meta,
    .eden-collage img,
    .eden-badge {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
