.specula-home-hero {
    position: relative;
    display: grid;
    min-height: calc(100svh - 4.5rem);
    overflow: hidden;
    background: #090806;
    color: #f5efe4;
}

.specula-home-hero__media {
    position: absolute;
    inset: 0;
}

.specula-home-hero__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(9, 8, 6, 0.92) 0%, rgba(9, 8, 6, 0.58) 44%, rgba(9, 8, 6, 0.14) 100%),
        linear-gradient(0deg, rgba(9, 8, 6, 0.9) 0%, rgba(9, 8, 6, 0.38) 42%, rgba(9, 8, 6, 0.08) 100%);
}

.specula-home-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: 62% center;
}

.specula-home-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: end;
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
    padding-block: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}

.specula-home-hero__panel {
    width: min(100%, 40rem);
    padding: clamp(1.375rem, 4vw, 2.375rem);
    border: 1px solid rgba(245, 239, 228, 0.14);
    background: rgba(9, 8, 6, 0.56);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(10px);
}

.specula-home-hero__eyebrow,
.specula-home-hero__title,
.specula-home-hero__lead {
    margin-top: 0;
}

.specula-home-hero__eyebrow {
    margin-bottom: 0.75rem;
    color: #e0c484;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.3;
}

.specula-home-hero__title {
    max-width: 38rem;
    margin-bottom: 1.125rem;
    color: #f5efe4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 8vw, 4.75rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.98;
}

.specula-home-hero__lead {
    max-width: 32rem;
    margin-bottom: 1.5rem;
    color: #eadfce;
    font-size: clamp(1.125rem, 3.2vw, 1.625rem);
    line-height: 1.35;
}

.specula-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.specula-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.875rem;
    padding: 0.8125rem 1.25rem;
    border: 1px solid transparent;
    color: inherit;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.specula-home-hero__button--primary {
    background: linear-gradient(135deg, #e0c484, #c7a562);
    color: #15100b;
}

.specula-home-hero__button--primary:hover,
.specula-home-hero__button--primary:focus-visible {
    background: linear-gradient(135deg, #ead292, #c7a562);
}

.specula-home-hero__button--secondary {
    border-color: rgba(245, 239, 228, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #f5efe4;
}

.specula-home-hero__button--secondary:hover,
.specula-home-hero__button--secondary:focus-visible {
    border-color: rgba(224, 196, 132, 0.68);
    color: #e0c484;
}

@media (max-width: 767px) {
    .specula-home-hero {
        min-height: calc(92svh - 4.5rem);
    }

    .specula-home-hero__media::after {
        background:
            linear-gradient(180deg, rgba(9, 8, 6, 0.22) 0%, rgba(9, 8, 6, 0.36) 32%, rgba(9, 8, 6, 0.94) 100%),
            linear-gradient(90deg, rgba(9, 8, 6, 0.46) 0%, rgba(9, 8, 6, 0.14) 54%, rgba(9, 8, 6, 0.06) 100%);
    }

    .specula-home-hero__media img {
        object-position: 60% 48%;
        transform: scale(1.36);
        transform-origin: 60% 48%;
    }

    .specula-home-hero__inner {
        width: min(100% - 1.25rem, 1200px);
        align-items: end;
        padding-block: 1.75rem 0.875rem;
    }

    .specula-home-hero__panel {
        box-sizing: border-box;
        padding: 1rem;
        background: rgba(9, 8, 6, 0.62);
    }

    .specula-home-hero__eyebrow {
        margin-bottom: 0.5rem;
        font-size: 0.6875rem;
    }

    .specula-home-hero__title {
        margin-bottom: 0.75rem;
        font-size: clamp(1.85rem, 8.8vw, 2.3rem);
        line-height: 1;
    }

    .specula-home-hero__lead {
        max-width: 18.75rem;
        margin-bottom: 1rem;
        font-size: clamp(0.92rem, 4vw, 1.05rem);
        line-height: 1.32;
    }

    .specula-home-hero__button {
        min-height: 2.625rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 520px) {
    .specula-home-hero__actions {
        display: grid;
        gap: 0.625rem;
    }

    .specula-home-hero__button {
        width: 100%;
    }
}

@media (min-width: 960px) {
    .specula-home-hero {
        min-height: calc(100svh - 5rem);
    }

    .specula-home-hero__inner {
        align-items: center;
    }
}
