/* ==========================================================================
   Home page
   ========================================================================== */

/* Hero ---------------------------------------------------------------------- */
.hero {
    position: relative;
    display: grid; align-items: center;
    min-height: min(86vh, 900px);
    min-height: min(86svh, 900px);
    padding-block: clamp(2rem, 8vw, 3rem);
    background: var(--dark-olive) url('../images/hero-poster.jpg') center / cover no-repeat;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(27, 34, 22, 0.62) 0%, rgba(27, 34, 22, 0.5) 45%, rgba(27, 34, 22, 0.82) 100%);
}

.bg-vid { width: 100%; height: 100%; object-fit: cover; }

.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

/* Master logo, white treatment (brand guide p. 7) */
.homeImage { width: clamp(170px, 22vw, 350px); margin-bottom: clamp(1.25rem, 3vw, 2rem); }

.hero h1 {
    max-width: 30ch;
    margin-bottom: 0.4em;
    font-size: clamp(2.2rem, 5.2vw, 3.2rem);
    color: var(--white);
}

.hero__lede { max-width: 34rem; font-size: clamp(0.9rem, 2.1vw, 1rem); line-height: 1.6; color: #f1f2ec; }

.hero__buttons { justify-content: center; }

/* Phones and tablets (under 1000px wide): the hero is at least the full height of the
   screen. svh = the visible screen with the browser's address bar showing. It can still
   grow taller if the content needs more room, so nothing gets cut off. */
@media (max-width: 999px) {
    .hero { min-height: 100vh; min-height: 100svh; }
}

@media (max-width: 479px) {
    /* Phones: buttons stacked, each about 75% of the screen width, centred */
    .hero__buttons { width: 75vw; max-width: 100%; flex-direction: column; }
}

/* Story teaser -------------------------------------------------------------- */
.home-photo { width: 100%; max-width: 26rem; justify-self: center; }

.home-center { justify-content: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* On the home page the cards are a teaser: name only */
.page-home .spirit-card h3 { margin-bottom: 0; }

/* Visit band ---------------------------------------------------------------- */
.visit-band { position: relative; overflow: hidden; }
.visit-band__mark { position: absolute; left: -8%; bottom: -14%; width: min(70vw, 620px); opacity: 0.16; pointer-events: none; }
.visit-band__inner { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.visit-band .lede { max-width: 32rem; }
.visit-band a:not(.btn):hover { color: var(--black); text-decoration-thickness: 2px; }

.visit-facts { margin: 0; border-top: 1px solid rgba(0, 0, 0, 0.35); }
.visit-facts > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.35); }
.visit-facts dt { font-family: var(--font-label); font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 0.25em; }
.visit-facts dd { margin: 0; }

@media (min-width: 900px) {
    .visit-band__inner { grid-template-columns: 1.15fr 1fr; }
}
