/* Homepage: hero, world-loop vision section, territory carousel. */
.landing-page .landing-hero.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: stretch;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    margin-top: calc(var(--site-chrome-offset) * -1);
    padding: 0;
    overflow: hidden;
    background: var(--background);
    text-align: left;
}

body:has(.home-hero) .site-header {
    background: transparent;
    box-shadow: none;
    border: 0;
}

.landing-page .landing-hero.home-hero .container {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: var(--site-chrome-offset) 2rem 0 var(--page-gutter);
    box-sizing: border-box;
    pointer-events: none;
}

.landing-page .landing-hero.home-hero .hero-inner {
    max-width: 34rem;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    pointer-events: auto;
}

.hero-story {
    position: relative;
    min-height: 0;
}

.landing-page .landing-hero.home-hero .hero-cta {
    align-items: flex-start;
}

@media (max-width: 720px) {
    .landing-page .landing-hero.home-hero {
        text-align: center;
    }

    .landing-page .landing-hero.home-hero .container {
        height: auto;
        justify-content: center;
        padding: calc(var(--site-chrome-offset) + 0.35rem) 0 0.75rem;
    }

    .landing-page .landing-hero.home-hero .hero-inner {
        max-width: 36rem;
        padding: 0 1.25rem;
        text-align: center;
    }

    .landing-page .landing-hero.home-hero .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-page .landing-hero.home-hero .hero-cta {
        align-items: center;
    }
}

.home-vision {
    position: relative;
    height: 94vh;
    height: 94svh;
    overflow: hidden;
    background: #000;
    color: var(--text-primary);
}

/* The planet sits right of centre in the footage; push the frame past the
   right edge so it hugs the side, and fade the empty left edge into black. */
.home-vision__media {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    aspect-ratio: 16 / 9;
    transform: translateX(7%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
    pointer-events: none;
}

.home-vision__title,
.home-carousel__title,
.home-benefits__heading {
    margin: 0 0 var(--type-title-gap);
    font: var(--type-title);
    letter-spacing: var(--type-tracking);
    text-transform: uppercase;
    max-width: 12em;
    color: var(--text-primary);
}

.home-vision__lead,
.home-carousel__lead {
    margin: 0;
    max-width: 44ch;
    font: var(--type-lead);
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-secondary);
}

/* The hero is the page's lead statement: larger than every other section title. */
.landing-page .landing-hero.home-hero .hero-heading {
    max-width: 15em;
}

.landing-page .landing-hero.home-hero .hero-subtitle {
    margin: 0;
    max-width: 44ch;
}

@media (min-width: 721px) {
    .landing-page .landing-hero.home-hero .hero-inner {
        max-width: 54rem;
    }
}

@media (max-width: 720px) {
    .landing-page .landing-hero.home-hero .hero-heading {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-carousel__track {
        transition: none;
    }
}

.home-carousel {
    position: relative;
    height: 100vh;
    height: 100svh;
    background: #000;
    color: #fafafa;
    overflow: hidden;
}

.home-carousel__viewport {
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.home-carousel__track {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.home-carousel.is-dragging .home-carousel__track {
    transition: none;
}

.home-carousel__slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    min-width: 0;
}

.home-carousel__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    background: #000;
    pointer-events: none;
    user-select: none;
}

.home-vision__shade,
.home-carousel__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 32%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.05) 74%);
    pointer-events: none;
}

.home-vision__copy,
.home-carousel__copy {
    position: absolute;
    top: 50%;
    left: var(--page-gutter);
    width: min(540px, calc(100% - 8rem));
    transform: translateY(-50%);
    z-index: 1;
}

.home-carousel__copy {
    width: min(720px, calc(100% - 8rem));
}

.home-carousel__title {
    max-width: none;
}

.home-carousel__arrow {
    position: absolute;
    bottom: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.home-carousel__arrow svg {
    width: 30px;
    height: 25px;
}

.home-carousel__arrow--prev {
    left: calc(var(--page-gutter) - 7px);
}

.home-carousel__arrow--prev svg {
    transform: rotate(90deg);
}

.home-carousel__arrow--next {
    right: calc(var(--page-gutter) - 7px);
}

.home-carousel__arrow--next svg {
    transform: rotate(270deg);
}

.home-carousel__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.home-carousel__arrow:focus-visible,
.home-carousel__dot:focus-visible {
    outline: 2px solid #fafafa;
    outline-offset: 3px;
}

.home-carousel__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
}

.home-carousel__dot.is-active {
    background: #fafafa;
    opacity: 1;
}

.home-benefits {
    background: #000;
    color: var(--text-primary);
}

.home-benefits__inner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    padding: var(--section-space) var(--page-gutter);
}

.home-benefits__heading {
    margin: 0;
}

.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-benefits__item {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
}

.home-benefits__number {
    padding-top: 0.2rem;
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.home-benefits__title {
    margin: 0 0 0.75rem;
    font: var(--type-heading);
    letter-spacing: var(--type-tracking);
    text-transform: uppercase;
    color: var(--text-primary);
}

.home-benefits__text {
    margin: 0;
    font: var(--type-lead);
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .home-benefits__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .home-benefits__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .home-vision__copy,
    .home-carousel__copy {
        top: auto;
        bottom: 4.75rem;
        left: var(--page-gutter);
        width: calc(100% - 2.5rem);
        transform: none;
    }

    .home-carousel__arrow--prev {
        left: 12px;
    }

    .home-carousel__arrow--next {
        right: 12px;
    }
}
