﻿

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(8,24,38,.55) 0%, rgba(8,24,38,.72) 60%, rgba(8,24,38,.92) 100%), url('https://images.unsplash.com/photo-1626621341517-bbc3535f0c95?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 0;
    overflow: hidden;
}

    .hero::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 120px;
        background: linear-gradient(180deg, transparent, var(--white));
    }

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.badge-35 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(228,199,124,.55);
    background: rgba(200,155,60,.14);
    color: var(--gold-light);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: 700;
    max-width: 820px;
    color: var(--white);
}

    .hero h1 em {
        font-style: normal;
        color: var(--gold-light);
    }

.hero p.lede {
    font-size: 18.5px;
    color: rgba(251,250,246,.82);
    max-width: 540px;
    margin: 22px 0 38px;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: rgba(255,255,255,.16);
    border-top: 1px solid rgba(255,255,255,.18);
    max-width: 900px;
}

.hero-stat {
    padding: 20px 22px 4px;
    background: transparent;
}

    .hero-stat .num {
        font-family: 'Outfit';
        font-size: 30px;
        font-weight: 700;
        color: var(--white);
    }

    .hero-stat .lab {
        font-size: 12px;
        color: rgba(251,250,246,.65);
        letter-spacing: .03em;
        margin-top: 2px;
    }

/* mountain ridge divider — signature element */
.ridge {
    display: block;
    width: 100%;
    height: 64px;
    margin-top: -2px;
}

/* ---------- ANNOUNCEMENT STRIP under hero (achievements ticker) ---------- */
.ticker-wrap {
    background: var(--navy);
    overflow: hidden;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.ticker {
    display: flex;
    gap: 64px;
    white-space: nowrap;
    animation: scroll 28s linear infinite;
    width: max-content;
}

    .ticker span {
        color: rgba(251,250,246,.75);
        font-size: 13.5px;
        font-weight: 500;
        letter-spacing: .02em;
    }

        .ticker span b {
            color: var(--gold-light);
            font-weight: 600;
        }

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- section headers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 14px;
}

    .eyebrow::before {
        content: '';
        width: 22px;
        height: 1.5px;
        background: var(--gold);
    }

.sec-head {
    max-width: 640px;
    margin-bottom: 52px;
}

    .sec-head h2 {
        font-size: clamp(28px,3.4vw,42px);
        font-weight: 600;
    }

    .sec-head p {
        color: var(--ink-soft);
        font-size: 16.5px;
        margin-top: 14px;
    }

section.pad {
    padding: 96px 0;
}

/* ---------- Why Parents Choose Us ---------- */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.choose-card {
    background: var(--white);
    padding: 36px 30px;
    transition: background .3s ease;
}

    .choose-card:hover {
        background: var(--paper);
    }

.choose-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
}

.choose-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.choose-card p {
    font-size: 14.5px;
    color: var(--ink-soft);
}

/* ---------- Principal message ---------- */
.principal {
    background: var(--navy);
    color: var(--white);
    padding: 100px 0;
    position: relative;
}

.principal-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.principal-photo {
    aspect-ratio: 4/5;
    background: url('https://images.unsplash.com/photo-1580894732444-8ecded7900cd?q=80&w=900&auto=format&fit=crop') center/cover;
    border: 1px solid rgba(255,255,255,.15);
    position: relative;
}

    .principal-photo::before {
        content: '';
        position: absolute;
        inset: 14px;
        border: 1px solid rgba(228,199,124,.5);
        pointer-events: none;
    }

.principal blockquote {
    font-family: 'Outfit';
    font-size: clamp(22px,2.4vw,30px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.42;
    margin-bottom: 28px;
}

.principal .signee {
    font-size: 15px;
    color: var(--gold-light);
    font-weight: 600;
}

.principal .role {
    font-size: 13px;
    color: rgba(251,250,246,.6);
    margin-top: 2px;
}

.quote-mark {
    font-family: 'Outfit';
    font-size: 64px;
    color: var(--gold);
    opacity: .5;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

/* ---------- Academic Excellence / Smart Classrooms — split feature ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--line);
}

    .feature-row.reverse .feature-copy {
        order: 2;
    }

.feature-img {
    min-height: 460px;
    background-size: cover;
    background-position: center;
}

.feature-copy {
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--paper);
}

    .feature-copy h3 {
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 16px;
    }

    .feature-copy p {
        color: var(--ink-soft);
        font-size: 15.5px;
        margin-bottom: 24px;
    }

.check-list {
    list-style: none;
}

    .check-list li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 9px 0;
        font-size: 14.5px;
        color: var(--ink);
    }

        .check-list li .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--gold);
            margin-top: 8px;
            flex-shrink: 0;
        }

/* ---------- Stats / results band ---------- */
.results-band {
    background: var(--emerald-dark);
    color: var(--white);
    padding: 80px 0;
    background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,.06), transparent 40%);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    text-align: center;
}

    .results-grid .num {
        font-family: 'Outfit';
        font-size: 52px;
        font-weight: 700;
        color: var(--gold-light);
    }

    .results-grid .lab {
        font-size: 14px;
        color: rgba(251,250,246,.75);
        margin-top: 6px;
        letter-spacing: .02em;
    }

    .results-grid .div {
        width: 1px;
        background: rgba(255,255,255,.15);
    }

/* ---------- Student life / facilities cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

.life-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

    .life-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s cubic-bezier(.2,.7,.3,1);
    }

    .life-card:hover img {
        transform: scale(1.08);
    }

    .life-card .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(9,24,38,.88) 0%, rgba(9,24,38,.15) 55%, transparent 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 26px;
    }

    .life-card .tag {
        font-size: 11.5px;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--gold-light);
        font-weight: 600;
        margin-bottom: 6px;
    }

    .life-card h4 {
        color: var(--white);
        font-size: 20px;
        font-weight: 600;
    }

.fac-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.fac-item {
    border: 1px solid var(--line);
    padding: 30px 26px;
    transition: border-color .3s ease, transform .3s ease;
}

    .fac-item:hover {
        border-color: var(--gold);
        transform: translateY(-4px);
    }

    .fac-item .n {
        font-family: 'Outfit';
        font-size: 13px;
        color: var(--gold);
        font-weight: 600;
        letter-spacing: .05em;
    }

    .fac-item h4 {
        font-size: 17px;
        font-weight: 600;
        margin: 10px 0 8px;
    }

    .fac-item p {
        font-size: 13.5px;
        color: var(--ink-soft);
    }

/* ---------- Testimonials ---------- */
.testi-wrap {
    background: var(--paper);
    padding: 96px 0;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

.testi-card {
    background: var(--white);
    padding: 34px 30px;
    border: 1px solid var(--line);
}

.stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testi-card p {
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 22px;
    font-style: normal;
}

.testi-who {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .testi-who .av {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--navy-mid);
        background-size: cover;
        background-position: center;
    }

    .testi-who .nm {
        font-size: 14px;
        font-weight: 600;
        color: var(--navy);
    }

    .testi-who .rl {
        font-size: 12.5px;
        color: var(--ink-soft);
    }

/* ---------- News & events ---------- */
.news-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
}

.news-card {
    border: 1px solid var(--line);
}

    .news-card .img {
        aspect-ratio: 16/10;
        background-size: cover;
        background-position: center;
    }

    .news-card .body {
        padding: 24px;
    }

    .news-card .cat {
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--sky);
        font-weight: 600;
    }

    .news-card h4 {
        font-size: 18px;
        font-weight: 600;
        margin: 10px 0 8px;
    }

    .news-card .date {
        font-size: 12.5px;
        color: var(--ink-soft);
    }

    .news-card.feat h4 {
        font-size: 24px;
    }

    .news-card.feat p.excerpt {
        font-size: 14.5px;
        color: var(--ink-soft);
        margin-top: 8px;
    }

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.event-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: var(--white);
    transition: background .3s;
}

    .event-row:hover {
        background: var(--paper);
    }

.event-date {
    width: 56px;
    text-align: center;
    flex-shrink: 0;
}

    .event-date .d {
        font-family: 'Outfit';
        font-size: 22px;
        font-weight: 700;
        color: var(--navy);
    }

    .event-date .m {
        font-size: 11px;
        text-transform: uppercase;
        color: var(--gold);
        font-weight: 600;
        letter-spacing: .04em;
    }

.event-info h4 {
    font-size: 15px;
    font-weight: 600;
}

.event-info p {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 2px;
}

/* ---------- Gallery preview ---------- */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    grid-template-rows: repeat(2,180px);
    gap: 8px;
}

    .gal-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease, filter .5s ease;
        filter: saturate(.94);
    }

    .gal-grid a {
        overflow: hidden;
        display: block;
    }

        .gal-grid a:hover img {
            transform: scale(1.06);
            filter: saturate(1.1);
        }

.gal-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.gal-2 {
    grid-column: span 2;
    grid-row: span 1;
}

.gal-3 {
    grid-column: span 2;
    grid-row: span 1;
}

.gal-4 {
    grid-column: span 1;
    grid-row: span 1;
}

.gal-5 {
    grid-column: span 1;
    grid-row: span 1;
}

.gal-6 {
    grid-column: span 2;
    grid-row: span 1;
}

/* ---------- Admissions CTA ---------- */
.admit-cta {
    background: var(--navy-deep);
    background-image: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, var(--emerald-dark) 130%);
    color: var(--white);
    padding: 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .admit-cta h2 {
        color: var(--white);
        font-size: clamp(30px,4vw,48px);
        max-width: 720px;
        margin: 0 auto 20px;
    }

    .admit-cta p {
        color: rgba(251,250,246,.75);
        font-size: 17px;
        max-width: 520px;
        margin: 0 auto 40px;
    }

.admit-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- footer ---------- */
footer {
    background: var(--navy-deep);
    color: rgba(251,250,246,.75);
    padding: 80px 0 30px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.foot-brand .brand-name {
    color: var(--white);
}

.foot-brand p {
    font-size: 14px;
    margin: 18px 0 22px;
    max-width: 280px;
    color: rgba(251,250,246,.6);
}

.foot-col h5 {
    color: var(--white);
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 18px;
    font-weight: 600;
}

.foot-col a {
    display: block;
    font-size: 14px;
    color: rgba(251,250,246,.65);
    margin-bottom: 12px;
    transition: color .2s;
}

    .foot-col a:hover {
        color: var(--gold-light);
    }

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 26px;
    font-size: 12.5px;
    color: rgba(251,250,246,.45);
    flex-wrap: wrap;
    gap: 14px;
}

.social {
    display: flex;
    gap: 12px;
}

    .social a {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .social a:hover {
            border-color: var(--gold);
        }

@media (max-width:980px) {
    .nav-links {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2,1fr);
    }

    .choose-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .feature-row, .feature-row.reverse {
        grid-template-columns: 1fr;
    }

        .feature-row.reverse .feature-copy {
            order: 0;
        }

    .principal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .results-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 30px;
    }

    .card-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .fac-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .gal-grid {
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: repeat(3,140px);
    }

    .gal-1 {
        grid-column: span 3;
        grid-row: span 1;
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}
/* ---------- Facilities page additions ---------- */
.fac-hero {
    min-height: 52vh;
    background: linear-gradient(180deg, rgba(8,24,38,.55) 0%, rgba(8,24,38,.8) 65%, rgba(8,24,38,.95) 100%), url('https://images.unsplash.com/photo-1481277542470-605612bd2d61?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
}

    .fac-hero h1 {
        font-size: clamp(34px,4.8vw,54px);
        max-width: 780px;
    }

.crumb {
    font-size: 13px;
    color: rgba(251,250,246,.65);
    margin-bottom: 18px;
}

    .crumb b {
        color: var(--gold-light);
        font-weight: 500;
    }

.fstat-strip {
    background: var(--emerald-dark);
    color: var(--white);
    padding: 28px 0;
}

.fs-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
}

.fs-item {
    padding: 0 24px;
    border-left: 1px solid rgba(255,255,255,.18);
    text-align: center;
}

    .fs-item:first-child {
        border-left: none;
    }

    .fs-item .num {
        font-family: 'Outfit';
        font-size: 28px;
        font-weight: 700;
        color: var(--gold-light);
    }

    .fs-item .lab {
        font-size: 12px;
        color: rgba(251,250,246,.7);
        margin-top: 4px;
    }

.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 14px;
}

    .cat-tag::before {
        content: '';
        width: 22px;
        height: 1.5px;
        background: var(--gold);
    }

.facility-showcase {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.fcard {
    border: 1px solid var(--line);
    background: var(--white);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .fcard:hover {
        transform: translateY(-4px);
    }

    .fcard .img {
        aspect-ratio: 4/3;
        background-size: cover;
        background-position: center;
        position: relative;
    }

        .fcard .img .badge {
            position: absolute;
            top: 14px;
            left: 14px;
            background: rgba(8,24,38,.82);
            color: var(--gold-light);
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .06em;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: 20px;
        }

    .fcard .body {
        padding: 22px 22px 26px;
    }

    .fcard h4 {
        font-size: 16.5px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .fcard p {
        font-size: 13.5px;
        color: var(--ink-soft);
    }

.fac-list-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.fac-list-item {
    background: var(--white);
    padding: 30px 24px;
    transition: background .3s ease;
}

    .fac-list-item:hover {
        background: var(--paper);
    }

    .fac-list-item .glyph {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
    }

    .fac-list-item h4 {
        font-size: 15.5px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .fac-list-item p {
        font-size: 13px;
        color: var(--ink-soft);
    }

.safety-band {
    background: var(--navy);
    color: var(--white);
    padding: 90px 0;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.1);
}

.safety-card {
    background: transparent;
    padding: 34px 28px;
}

    .safety-card .glyph {
        width: 38px;
        height: 38px;
        margin-bottom: 18px;
    }

    .safety-card h4 {
        color: var(--white);
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .safety-card p {
        color: rgba(251,250,246,.7);
        font-size: 13.5px;
    }

.more-band {
    background: var(--paper);
    padding: 70px 0;
    text-align: center;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 820px;
    margin: 30px auto 0;
}

.tag-pill {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13.5px;
    color: var(--ink);
    font-weight: 500;
}

@media (max-width:980px) {
    .facility-showcase {
        grid-template-columns: repeat(2,1fr);
    }

    .fac-list-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }

    .fs-row {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }

    .fs-item {
        border-left: none;
    }
}

@media (max-width:600px) {
    .facility-showcase {
        grid-template-columns: 1fr;
    }

    .fac-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:600px) {
    .wrap, .hero-inner {
        padding: 0 22px;
    }

    nav {
        padding: 14px 22px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: repeat(2,1fr);
    }

    section.pad {
        padding: 64px 0;
    }

    .choose-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .fac-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gal-grid {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(4,120px);
    }

    .gal-1 {
        grid-column: span 2;
    }

    .gal-6 {
        grid-column: span 2;
    }

    .foot-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------- Gallery page additions ---------- */
.gy-hero {
    min-height: 44vh;
    background: linear-gradient(180deg, rgba(8,24,38,.5) 0%, rgba(8,24,38,.78) 65%, rgba(8,24,38,.95) 100%), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
}

    .gy-hero h1 {
        font-size: clamp(30px,4.4vw,46px);
        max-width: 720px;
    }

.gy-crumb {
    font-size: 13px;
    color: rgba(251,250,246,.65);
    margin-bottom: 18px;
}

    .gy-crumb b {
        color: var(--gold-light);
        font-weight: 500;
    }

.gy-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.gy-chip {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .2s ease;
}

    .gy-chip.active {
        background: var(--navy);
        border-color: var(--navy);
        color: var(--white);
    }

    .gy-chip:hover:not(.active) {
        border-color: var(--gold);
    }

.gy-masonry {
    column-count: 4;
    column-gap: 16px;
}

.gy-item {
    break-inside: avoid;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    transition: transform .3s ease;
}

    .gy-item.hidden {
        display: none;
    }

    .gy-item:hover {
        transform: translateY(-3px);
    }

    .gy-item img {
        width: 100%;
        display: block;
        transition: transform .6s cubic-bezier(.2,.7,.3,1);
        filter: saturate(.96);
    }

    .gy-item:hover img {
        transform: scale(1.06);
    }

.gy-cap {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9,24,38,.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity .3s ease;
}

.gy-item:hover .gy-cap {
    opacity: 1;
}

.gy-cap .tag {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 4px;
}

.gy-cap h5 {
    color: var(--white);
    font-size: 13.5px;
    font-weight: 600;
}

.gy-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(8,24,38,.94);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

    .gy-lightbox.open {
        display: flex;
    }

.gy-lb-inner {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.gy-lightbox img {
    max-width: 100%;
    max-height: 76vh;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.gy-lb-cap {
    color: var(--white);
    margin-top: 18px;
    font-size: 14px;
}

    .gy-lb-cap .tag2 {
        color: var(--gold-light);
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: .07em;
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
    }

.gy-lb-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gy-lb-close:hover {
        background: rgba(255,255,255,.12);
    }

.gy-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    background: rgba(255,255,255,.05);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gy-lb-nav:hover {
        background: rgba(255,255,255,.15);
    }

.gy-lb-prev {
    left: 24px;
}

.gy-lb-next {
    right: 24px;
}

@media (max-width:980px) {
    .gy-masonry {
        column-count: 3;
    }
}

@media (max-width:600px) {
    .gy-masonry {
        column-count: 2;
        column-gap: 10px;
    }

    .gy-item {
        margin-bottom: 10px;
    }

    .gy-lb-nav {
        width: 36px;
        height: 36px;
    }
}
