/* ── Hero slideshow ─────────────────────────────────────────────────── */
.home-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(calc(100svh - var(--oms-header-h)), 760px);
    padding: 40px 20px 170px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: #2c5d60;
    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 70% 45% at 50% 52%, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0) 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.18));
}
.home-hero__title {
    margin: 0;
    font-size: clamp(32px, 5.2vw, 60px);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.12;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.45);
}
.home-hero__motto {
    margin: 14px 0 0;
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 500;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.45);
}
@media (max-width: 768px) {
    .home-hero { min-height: min(calc(100svh - var(--oms-header-h)), 640px); padding-bottom: 120px; }
}

/* ── News card ──────────────────────────────────────────────────────── */
.home-news { margin-top: -140px; max-width: 1140px; }
.home-news__buttons {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px;
    margin-top: 28px;
}
.home-news__buttons .oms-btn { min-width: 220px; }
@media (max-width: 768px) {
    .home-news { margin-top: -96px; }
    .home-news__buttons .oms-btn { flex: 1 1 100%; }
}

/* ── Bands ──────────────────────────────────────────────────────────── */
.home-band { padding: clamp(56px, 7vw, 96px) 0; }
.home-band--dark { background: var(--oms-charcoal); color: #fff; margin-top: clamp(56px, 7vw, 88px); }
.home-band--cyan { background: var(--oms-cyan); color: #072f31; }

.home-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}
.home-band__grid--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 900px) {
    .home-band__grid, .home-band__grid--reverse { grid-template-columns: minmax(0, 1fr); }
    .home-band__grid--reverse .home-band__media { order: -1; }
}

.home-band__media { margin: 0; }
.home-band__media img {
    display: block; width: 100%; height: auto;
    aspect-ratio: 3 / 2; object-fit: cover;
    border-radius: var(--oms-radius-sm);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.home-band__text { text-align: center; }
.home-band__title {
    font-size: clamp(26px, 3vw, 36px);
    margin: 0 0 18px;
}
.home-band--dark .home-band__title { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.home-band--cyan .home-band__title { color: #fff; text-shadow: 0 2px 10px rgba(0, 80, 82, 0.45), 0 1px 2px rgba(0, 60, 62, 0.4); }
.home-band__text p { margin: 0 auto 26px; max-width: 62ch; font-size: 17px; line-height: 1.75; }
.home-band--dark .home-band__text p { color: #ececec; }
.home-band--cyan .home-band__text p { color: #062b2d; }
.home-band__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.home-band__buttons .oms-btn { min-width: 140px; }

/* Member-club logos under the dark band */
.home-clubs { margin-top: clamp(40px, 5vw, 64px); }
.home-clubs__track {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px; list-style: none;
}
.home-clubs__track a {
    display: block; width: 72px; height: 72px; border-radius: 50%;
    overflow: hidden; background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: translate 0.25s var(--oms-ease), box-shadow 0.25s ease;
}
.home-clubs__track img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) { .home-clubs__track a:hover { translate: 0 -4px; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45); } }
@media (max-width: 640px) { .home-clubs__track a { width: 58px; height: 58px; } }

/* Board faces under the cyan text */
.home-faces { display: flex; flex-wrap: wrap; justify-content: center; margin: 30px 0 0; padding: 0; list-style: none; }
.home-faces li { margin: 0 -6px; }
.home-faces a {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%;
    overflow: hidden; background: #fff; color: var(--oms-cyan-ink);
    border: 3px solid var(--oms-cyan);
    font-weight: 700; font-size: 15px;
    transition: translate 0.2s var(--oms-ease);
    position: relative;
}
.home-faces img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) { .home-faces a:hover { translate: 0 -4px; z-index: 1; } }

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