/* Hero — Tailbite's. */

.hero .btn-ghost {
    border-color: rgba(245, 237, 223, .38);
    color: var(--cream);
}

.hero .btn-ghost:hover {
    background: rgba(245, 237, 223, .12);
}

.hero {
    position: relative;
    isolation: isolate;
    padding: clamp(130px, 16vw, 180px) 0 clamp(56px, 7vw, 90px);
    background: radial-gradient(120% 90% at 80% 0%, var(--navy-soft) 0%, transparent 55%), linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--cream);
    overflow: hidden;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(96px, 11vh, 132px);
    padding-bottom: clamp(28px, 5vh, 52px);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    z-index: -1;
    animation: float 12s ease-in-out infinite;
}

.glow-orange {
    width: 460px;
    height: 460px;
    top: -100px;
    right: -60px;
    background: rgba(255, 139, 0, .45);
}

.glow-blue {
    width: 420px;
    height: 420px;
    bottom: -160px;
    left: -120px;
    background: rgba(0, 194, 232, .28);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -26px, 0) scale(1.07);
    }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    flex: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(52px, 10.5vw, 132px);
    line-height: .86;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 6px 0 20px;
}

.hero-title span {
    display: block;
}

.hero-title .line-1 {
    color: var(--cream);
}

.hero-title .line-2 {
    background: linear-gradient(100deg, var(--yellow), var(--orange) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    max-width: 46ch;
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(245, 237, 223, .78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 46px);
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(245, 237, 223, .16);
}

.hero-stats li {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(26px, 3.6vw, 40px);
    color: var(--yellow);
    line-height: 1;
}

.hero-stats span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(245, 237, 223, .6);
    margin-top: 6px;
}

.hero-right {
    position: relative;
}

.hero-photo img {
    width: 100%;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
}

.hero-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 198, 0, .5);
    background: rgba(2, 28, 37, .35);
    box-shadow: inset 0 0 0 6px rgba(245, 237, 223, .06), 0 30px 70px -30px rgba(0, 0, 0, .8);
    animation: promoBob 8s ease-in-out infinite;
    border-radius: var(--radius-lg);
}

.hero-promo-track {
    width: 100%;
    height: 100%;
    transition: transform .75s var(--ease);
    border-radius: var(--radius-lg);
    position: relative;
    display: block;
}

.hero-promo-slide {
    flex: 0 0 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    position: absolute;
    inset: 0;
    min-width: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .7s var(--ease), transform .9s var(--ease);
    pointer-events: none;
}

.hero-promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    border-radius: var(--radius-lg);
}

.hero-promo-slide:first-child img {
    object-fit: contain;
    background: radial-gradient(circle at 50% 30%, rgba(255, 198, 0, .2), transparent 62%);
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5));
}

.hero-promo-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    display: flex;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(2, 28, 37, .66);
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
    z-index: 3;
}

.hero-promo-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(245, 237, 223, .42);
}

.hero-promo-dots button.is-active {
    width: 24px;
    border-radius: 999px;
    background: var(--yellow);
}

@keyframes promoBob {

    0%,
    100% {
        transform: translateY(0) rotate(-.35deg);
    }

    50% {
        transform: translateY(-3px) rotate(.15deg);
    }
}

.hero-locations {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: clamp(24px, 4vh, 42px);
    padding-top: 20px;
    border-top: 1px solid rgba(245, 237, 223, .16);
}

.hero-locations-label {
    max-width: 13ch;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: .18em;
    color: rgba(245, 237, 223, .55);
}

.hero-location-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 10px;
}

.hero-location-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid rgba(245, 237, 223, .16);
    border-radius: 12px;
    background: rgba(245, 237, 223, .07);
    transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}

.hero-location-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 198, 0, .5);
    background: rgba(245, 237, 223, .12);
}

.hero-location-link>span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hero-location-link small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
    color: var(--orange-light);
}

.hero-location-link strong {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-pin {
    color: var(--yellow);
    font-size: 11px;
    filter: drop-shadow(0 0 7px rgba(255, 198, 0, .5));
}

.hero-promo-slide.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 900px) {

    .hero-inner {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-right {
        order: -1;
        max-width: 400px;
        margin-inline: auto;
    }
}

@media (max-width: 560px) {

    .hero-stats {
        gap: 18px;
    }

    .hero-photo {
        aspect-ratio: 4 / 4.5;
    }
}

@media (max-width: 900px) {

    .hero {
        justify-content: flex-start;
        padding-top: 96px;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-sub {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        width: min(100%, 540px);
    }

    .hero-stats li {
        align-items: center;
    }

    .hero-locations {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .hero-locations-label {
        max-width: none;
    }

    .hero-location-links {
        width: min(100%, 450px);
    }
}

@media (max-width: 560px) {

    .hero {
        min-height: 100svh;
        padding-bottom: 28px;
    }

    .hero-right {
        width: min(76vw, 300px);
    }

    .hero-title {
        font-size: clamp(50px, 17vw, 72px);
    }

    .hero-location-links {
        grid-template-columns: 1fr 1fr;
    }

    .hero-location-link {
        padding: 10px;
    }

    .hero-location-link>span:last-child {
        display: none;
    }
}