/* Static homepage hero. */
.itx-hero-root {
    --itx-hero-scene-height: clamp(720px, 92svh, 920px);
    /* Original 1672px image displayed at most at half size for 2x screens. */
    --itx-satellite-max-width: 836px;
    position: relative;
    background: #000;
    color: #fff;
    border-bottom: 1px solid var(--accent);
}

.itx-hero-stage {
    position: relative;
    /* Keep the scene height while the expanded background fills the stage. */
    height: calc(var(--itx-hero-scene-height) * 0.84);
    overflow: hidden;
    isolation: isolate;
    background: #000;
}

.itx-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.itx-hero-satellite {
    position: absolute;
    top: 14%;
    right: 5%;
    width: min(62%, var(--itx-satellite-max-width));
    height: auto;
    display: block;
    /* Clip the unchanged source photo around its satellite silhouette. */
    clip-path: polygon(10.526% 4.251%, 42.045% 22.848%, 43.002% 24.230%, 44.318% 18.491%, 51.914% 10.202%, 52.691% 8.608%, 63.577% 18.172%, 62.679% 37.088%, 86.962% 61.211%, 87.440% 75.345%, 61.902% 55.260%, 61.902% 65.250%, 60.945% 65.994%, 54.306% 70.776%, 53.768% 71.626%, 52.871% 72.051%, 52.333% 71.732%, 51.974% 71.095%, 51.914% 70.670%, 51.196% 70.138%, 41.328% 62.912%, 40.670% 62.274%, 42.105% 42.295%, 40.849% 41.870%, 8.433% 23.804%);
}

.itx-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000 20%, rgba(0, 0, 0, 0.86) 30%, rgba(0, 0, 0, 0.45) 45%, transparent 65%),
        linear-gradient(0deg, #000 0%, transparent 2%);
}

.itx-hero-copy {
    position: absolute;
    top: calc(var(--itx-hero-scene-height) * 0.5);
    left: max(var(--container-gutter), calc((100% - var(--max-width)) / 2));
    width: 44%;
    max-width: 670px;
    transform: translateY(-50%);
    z-index: 2;
}

.itx-hero-eyebrow {
    display: inline-block;
    margin: 0 0 28px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 400;
    letter-spacing: 0.24em;
    line-height: 1.5;
}

.itx-hero-title {
    margin: 0 0 28px;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(40px, 4.8vw, 76px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.itx-hero-title > span { display: block; }

.itx-hero-subtitle {
    max-width: 440px;
    margin: 0;
    color: #d5dbe2;
    font-family: var(--sans);
    font-size: clamp(14px, 1.15vw, 18px);
    font-weight: 400;
    line-height: 1.65;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .itx-hero-title { font-size: clamp(34px, 4.6vw, 50px); }
}

@media (min-resolution: 2.01dppx) {
    .itx-hero-root { --itx-satellite-max-width: 557px; }
}

@media (min-resolution: 3.01dppx) {
    .itx-hero-root { --itx-satellite-max-width: 418px; }
}

@media (max-width: 767.98px) {
    .itx-hero-root { --itx-hero-scene-height: max(760px, 100svh); }
    .itx-hero-stage { height: calc(var(--itx-hero-scene-height) * 0.904); }
    .itx-hero-background {
        top: calc(var(--itx-hero-scene-height) * 0.25);
        height: calc(var(--itx-hero-scene-height) * 0.75);
        object-position: 70% center;
    }
    .itx-hero-satellite {
        top: 42%;
        right: -4%;
        width: min(108%, var(--itx-satellite-max-width));
    }
    .itx-hero-shade {
        background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.93) 25%, transparent 57%),
            linear-gradient(0deg, #000 0%, transparent 2%);
    }
    .itx-hero-copy {
        top: calc(var(--header-height) + 36px);
        left: var(--container-gutter);
        width: calc(100% - var(--container-gutter) * 2);
        transform: none;
    }
    .itx-hero-eyebrow { font-size: 12px; letter-spacing: 0.18em; margin-bottom: 24px; }
    .itx-hero-title { font-size: clamp(32px, 9vw, 58px); margin-bottom: 20px; }
    .itx-hero-subtitle { font-size: 14px; }
}
