.hero {
    height: 500px;
    min-height: 500px;
}

.hero-content {
    padding-top: 145px;
    padding-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2.3rem, 4.5vw, 4rem);
    margin: 6px 0;
    background: rgba(0,0,0,.55);
    display: inline-block;
    padding: 14px 20px;
    border-radius: 8px;
}

.hero-actions {
    margin-top: 10px;
}

.hero-meta {
    margin-top: 20px;
    gap: 0;
    width: fit-content;
    background: rgba(0,0,0,.55);
    border-radius: 10px;
    padding: 22px 26px 16px;
}

.hero-meta div {
    position: relative;
    padding: 0 26px;
}

.hero-meta div:first-child {
    padding-left: 0;
}

.hero-meta div:not(:first-child) {
    border-left: 1px solid rgba(255,255,255,.35);
}

.hero-meta div:before {
    content: "";
    position: absolute;
    left: 26px;
    top: -12px;
    width: 22px;
    height: 2px;
    background: var(--gold2);
}

.hero-meta div:first-child:before {
    left: 0;
}

/* Mobile */
@media(max-width: 760px) {
    .hero {
        height: 510px;
        min-height: 510px;
    }

    .hero-content {
        padding-top: 105px;
        padding-bottom: 15px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin: 6px 0;
    }

    .hero-actions {
        margin-top: 10px;
    }

    .hero-meta {
        margin-top: 16px;
        gap: 18px;
    }
}

@media(max-width: 450px) {
    .hero {
        height: 490px;
        min-height: 490px;
    }

    .hero-content {
        padding-top: 95px;
    }
}

.hero-content {
    padding-left: 52px;
    margin-left: 0;
}

.hero-content h1, .hero-content .hero-eyebrow, .hero-content .hero-actions, .hero-content .hero-meta {
    margin-left: 0;
}

/* Old-folder Vision/Mission section with a clear, unfiltered image. */
.vision-section {
    position: relative;
    min-height: 560px;
    color: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.vision-bg {
    position: absolute;
    inset: 0;
    background: url('../images/night-residence.jpg?v=20260814hires') center/cover no-repeat;
    filter: none !important;
    opacity: 1 !important;
}
.vision-overlay {
    display: none !important;
    background: none !important;
}
.vision-content {
    position: relative;
    z-index: 2;
    padding-top: 25px;
    padding-bottom: 25px;
}
.vision-heading { max-width: 760px; }
.vision-heading h2 { margin: 12px 0 15px; }
.vision-heading>p:last-child {
    max-width: 650px;
    color: #fff;
    text-shadow: 0 2px 7px rgba(0,0,0,.9);
}
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 30px;
}
.vision-card {
    position: relative;
    min-height: 250px;
    padding: 28px 30px 32px;
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-shadow: 0 2px 7px rgba(0,0,0,.9);
}
.vision-card p { color: #fff; }
@media(max-width:760px){
    .vision-grid{grid-template-columns:1fr}
    .vision-section{min-height:auto;padding:55px 0}
}

/* Final Vision/Mission appearance matched to the supplied reference. */
.vision-overlay {
    display: block !important;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(5,16,27,.92),rgba(5,16,27,.72)) !important;
}
.vision-heading>p:last-child {
    color: #bfcad2;
}
.vision-card {
    padding: 28px 30px 32px;
    border: 1px solid rgba(255,255,255,.20);
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
    text-shadow: none;
}
.vision-card p {
    color: #aebbc5;
}

/* Slightly taller homepage slider. */
.hero {
    height: 580px;
    min-height: 580px;
}
@media(max-width:760px){
    .hero{height:550px;min-height:550px}
}
@media(max-width:450px){
    .hero{height:520px;min-height:520px}
}
