.ek-page {
    --ek-primary: #1E3C72;
    --ek-accent: #7E22CE;
    --ek-gold: #E0B958;
    --ek-muted: #4A5568;
    --ek-bg: #F4F5FA;
    --ek-nav-h: 80px;
    padding-top: var(--ek-nav-h);
    font-family: 'Public Sans', system-ui, sans-serif;
    line-height: 1.6;
    color: #1B2433;
    background: #fff;
}

.ek-page *, 
.ek-page *::before, 
.ek-page *::after { 
    box-sizing: border-box;
}

.ek-page h1, .ek-page h2, .ek-page h3, .ek-page p, .ek-page figure, .ek-page ul { margin: 0; padding: 0; }
.ek-page ul { list-style: none; }

.ek-container { 
    width: 100%; 
    max-width: 1160px; 
    margin: 0 auto; 
    padding: 0 32px;
}

.ek-eyebrow { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-accent); }
.ek-eyebrow--gold { color: var(--ek-gold); }
.ek-title { margin-bottom: 16px; font-family: 'Source Serif 4', Georgia, serif; font-size: 38px; line-height: 1.15; font-weight: 600; color: var(--ek-primary); }
.ek-text { max-width: 620px; margin-bottom: 14px; font-size: 18px; color: var(--ek-muted); }

.ek-hero { position: relative; display: flex; align-items: flex-end; min-height: 560px; overflow: hidden; background: #2B4A86 center / cover no-repeat; }
.ek-hero::before { content: ''; position: absolute; inset: 0; background: rgba(20, 40, 79, .58); }
.ek-hero__content { position: relative; padding-top: 140px; padding-bottom: 80px; }
.ek-hero__title { max-width: 860px; font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 600; color: #fff; }

.ek-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: center; }
.ek-split--top { align-items: start; }

.ek-intro { padding: 80px 0; }
.ek-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ek-tags li { padding: 6px 14px; border: 1px solid #D3D9E8; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ek-primary); }

.ek-jump { padding: 48px 0; background: var(--ek-bg); }
.ek-chip {
    display: inline-block; margin: 0 10px 12px 0; padding: 10px 18px;
    border: 1.5px solid var(--ek-primary); border-radius: 999px;
    background: #fff; color: var(--ek-primary);
    font-size: 15px; font-weight: 500; text-decoration: none;
    transition: background .2s, color .2s;
}
.ek-chip:hover, .ek-chip:focus-visible { 
    background: var(--ek-primary); 
    color: #fff;
}

.ek-section {
    display: flex;
    align-items: center;
    min-height: 100vh; 
    min-height: 100dvh; 
    padding: 72px 0;
    scroll-margin-top: calc(var(--ek-nav-h) + 16px);
    overflow-x: clip;
}

.ek-section--alt { 
    background: var(--ek-bg);
}

.ek-cat { 
    display: inline-block; 
    margin-bottom: 14px; 
    padding: 10px 24px;
    border-radius: 999px;
    background: #EDE4FA;
    font-size: 13px;
    font-weight: 600; 
    color: #5B21B6; 
}

.ek-name { 
    margin-bottom: 14px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 600;
    color: var(--ek-primary);
}

.ek-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr;
    gap: 14px;
    aspect-ratio: 6 / 5;
    min-height: 320px;
    max-height: calc(100vh - 144px); 
    max-height: calc(100dvh - 144px);
}

.ek-photo {
    position: relative;
    overflow: hidden;
    background: #E4E8F2;
    box-shadow: 0 6px 18px rgba(20, 40, 79, .12);   
    transition: transform .35s ease, box-shadow .35s ease;
}

.ek-photo--main {
    grid-column: 1 / -1;
}

.ek-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.ek-photo__placeholder { 
    display: flex; align-items: 
    center; justify-content: 
    center; width: 100%; 
    height: 100%; 
    padding: 12px; 
    border: 2px dashed #8FA0C8; 
    border-radius: 8px; 
    font-size: 14px; 
    font-weight: 500; 
    text-align: center; 
    color: var(--ek-primary);
}

.dropdown-link.is-current { font-weight: 600; color: var(--ek-accent); }

@media (hover: hover) {
    .ek-photo:hover {
        z-index: 2;                                        
        transform: scale(1.03);
        box-shadow: 0 24px 48px rgba(20, 40, 79, .28);
    }

    .ek-photo:hover img {
        transform: scale(1.08);                         
    }
}

@media (prefers-reduced-motion: reduce) {
    .ek-photo,
    .ek-photo img {
        transition: none;
    }

    .ek-photo:hover,
    .ek-photo:hover img {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ek-js .ek-gallery:not(.is-visible) .ek-photo { opacity: 1; }
    .ek-gallery.is-visible .ek-photo { animation: none; }
}

@keyframes ek-in-center { 
    from { 
        opacity: 0; 
        transform: scale(.92); 
    }          
    to { 
        opacity: 1; 
        transform: none;
    } 
}

@keyframes ek-in-left { 
    from { 
        opacity: 0; 
        transform: translateX(-80px); 
    }
    to { 
        opacity: 1; 
        transform: none; 
    } 
}

@keyframes ek-in-right  { 
    from { 
        opacity: 0; 
        transform: translateX(80px); 
    }    
    to { 
        opacity: 1; 
        transform: none; 
    } 
}

.ek-js .ek-gallery:not(.is-visible) .ek-photo { opacity: 0; }

.ek-gallery.is-visible .ek-photo {
    animation-duration: .9s;
    animation-timing-function: cubic-bezier(.2, .7, .2, 1);
    animation-fill-mode: backwards;
}
.ek-gallery.is-visible .ek-photo:nth-child(1) { animation-name: ek-in-center; }
.ek-gallery.is-visible .ek-photo:nth-child(2) { animation-name: ek-in-left;  animation-delay: .2s; }
.ek-gallery.is-visible .ek-photo:nth-child(3) { animation-name: ek-in-right; animation-delay: .35s; }

@media (min-width: 769px) {
    .ek-section--rev .ek-section__text { order: 2; }
}

@media (max-width: 768px) {
    .ek-container { padding: 0 20px; }
    .ek-intro { padding: 56px 0; }
    .ek-jump { padding: 36px 0; }
    .ek-section { padding: 56px 0; }
    .ek-split { gap: 32px; }
    .ek-title { font-size: 30px; }
    .ek-name { font-size: 30px; }
    .ek-text { font-size: 17px; }
    .ek-hero { min-height: 440px; }
    .ek-hero__content { padding-top: 100px; padding-bottom: 56px; }
    .ek-gallery { height: 300px; }
    
    @keyframes ek-in-left  { 
        from { 
            opacity: 0; 
            transform: translateX(-40px); 
        } 
        to { 
            opacity: 1; 
            transform: none; 
            
        } 
        
    }
    
    @keyframes ek-in-right { 
        from { 
            opacity: 0; 
            transform: translateX(40px); 
        }  
        to 
        { 
            opacity: 1; 
            transform: none; 
        } 
    }
}