/* ── Hero slideshow ─────────────────────────────────────────────────── */
.home-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(100svh, 840px);
    padding: calc(var(--opse-header-h) + 24px) 20px 180px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: var(--opse-charcoal);
    isolation: isolate;
}
.home-hero__slides { position: absolute; inset: 0; z-index: -2; }
.home-hero__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.6s ease;
    transform: scale(1.06);
}
.home-hero__img.is-active { opacity: 1; animation: home-kenburns 9s ease-out forwards; }
@keyframes home-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

.home-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 72% 42% at 50% 50%, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0) 72%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0) 30%);
}
.home-hero__title {
    margin: 0;
    max-width: 22ch;
    font-size: clamp(34px, 5.4vw, 62px);
    font-weight: 800;
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.45);
}
@media (max-width: 768px) {
    .home-hero { min-height: min(92svh, 680px); padding-bottom: 130px; }
}

/* ── Cream ground below the hero ────────────────────────────────────── */
.home-body { background: var(--opse-pale); padding-bottom: clamp(36px, 5vw, 64px); }

/* ── News card ──────────────────────────────────────────────────────── */
.home-news {
    position: relative;
    margin-top: -128px;
    border-radius: var(--opse-radius);
    background: var(--opse-pale);
    box-shadow: var(--opse-shadow);
    overflow: hidden;
}
.home-news__title {
    margin: 0;
    padding: clamp(16px, 2vw, 24px) 16px;
    background: var(--opse-red);
    color: #fff;
    font-size: clamp(23px, 2.8vw, 32px);
    font-weight: 800;
    text-align: center;
}
.home-news__body { padding: clamp(16px, 2.4vw, 28px); }
.home-news__foot {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
    padding: 20px clamp(16px, 2.4vw, 28px);
    background: var(--opse-red);
}
.home-news__foot .opse-btn { font-weight: 600; }
@media (max-width: 768px) {
    .home-news { margin-top: -92px; }
    .home-news__foot .opse-btn { flex: 1 1 100%; }
}

/* ── Dark cards ─────────────────────────────────────────────────────── */
.home-cards {
    display: grid;
    gap: clamp(12px, 1.6vw, 18px);
    max-width: 1400px;
    margin: clamp(32px, 4.5vw, 56px) auto 0;
    padding: 0 clamp(12px, 2vw, 28px);
}
.home-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    padding: clamp(14px, 1.6vw, 20px);
    border-radius: 32px;
    background: var(--opse-charcoal);
    color: #fff;
    box-shadow: var(--opse-shadow);
}
.home-card__media { margin: 0; }
.home-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 22px;
}
.home-card__text { padding: clamp(10px, 2vw, 24px) clamp(6px, 2vw, 28px); text-align: center; }
.home-card__title {
    margin: 0 0 18px;
    font-size: clamp(25px, 2.6vw, 32px);
    font-weight: 800;
    line-height: 1.22;
    text-wrap: balance;
}
.home-card__text p { margin: 0 auto 26px; max-width: 62ch; color: #f3efea; font-size: 16.5px; line-height: 1.7; }
@media (max-width: 900px) {
    .home-card { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
    .home-card--reverse .home-card__media { order: -1; }
    .home-card__media img { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__img, .home-hero__img.is-active { animation: none; transform: none; transition: none; }
}
