/* Top page only: image-led first view and desktop ocean surround. */
body:has(.tereapo-shell) {
    background: #07315b url('/hp/tereapo-monster/ocean-gutter.webp') center center / cover fixed !important;
}

.tereapo-shell {
    box-shadow: 0 0 0 1px rgba(132, 225, 255, .35), 0 20px 70px rgba(0, 20, 45, .45);
}

.tereapo-shell .header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 70px !important;
    min-height: 70px !important;
}

.tereapo-shell .header-content {
    height: 70px !important;
    min-height: 70px !important;
    padding: 0 !important;
}

.tereapo-shell .header .nav {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    display: none !important;
    width: 100%;
    max-height: calc(100svh - 70px);
    overflow-y: auto;
}

.tereapo-shell .header .nav.active {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tereapo-shell .mobile-menu-toggle {
    display: flex !important;
}

.tereapo-shell .hero {
    display: block !important;
    min-height: 740px !important;
    padding: 280px 0 28px !important;
    overflow: hidden;
    background: #031a31 !important;
    color: #fff;
    isolation: isolate;
}

.tereapo-shell .hero::before {
    display: none !important;
}

.tereapo-shell .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 12%, rgba(1, 15, 31, .18) 25%, rgba(1, 15, 31, .78) 43%, rgba(1, 15, 31, .26) 100%);
}

.tereapo-shell .hero-artwork {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.tereapo-shell .hero-bg,
.tereapo-shell .hero-sharks,
.tereapo-shell .wave-divider,
.tereapo-shell .scroll-indicator {
    display: none !important;
}

.tereapo-shell .hero .container {
    position: relative;
    z-index: 2;
    width: min(100% - 44px, 430px) !important;
    padding: 0 !important;
}

.tereapo-shell .hero-content {
    display: block !important;
    min-height: 0 !important;
    height: auto;
    padding: 0 !important;
    text-align: center !important;
}

.tereapo-shell .hero-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
}

.tereapo-shell .hero-badge {
    display: none !important;
}

.tereapo-shell .hero-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    text-align: center !important;
}

.tereapo-shell .hero-title::after,
.tereapo-shell .title-main:first-child::after {
    display: none !important;
    content: none !important;
}

.tereapo-shell .title-main,
.tereapo-shell .title-main:last-of-type {
    display: block !important;
    color: #fff !important;
    font-family: 'Zen Old Mincho', 'Yu Mincho', serif !important;
    font-size: clamp(2.15rem, 8vw, 3.15rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 16px rgba(0, 9, 20, .75) !important;
    -webkit-text-fill-color: #fff !important;
    animation: none !important;
}

.tereapo-shell .hero-description {
    max-width: 410px !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    color: #e8f8ff !important;
    font-family: 'Zen Old Mincho', 'Yu Mincho', serif !important;
    font-size: .85rem !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 1px 8px rgba(0, 9, 20, .75) !important;
}

.tereapo-shell .hero-description strong {
    display: block !important;
    width: auto !important;
    margin: 0 0 5px !important;
    color: #b8efff !important;
    font-family: 'Zen Old Mincho', 'Yu Mincho', serif !important;
    font-size: 1.05rem !important;
    line-height: 1.45 !important;
    background: none !important;
    text-shadow: 0 1px 10px rgba(0, 9, 20, .75) !important;
}

.tereapo-shell .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: center !important;
    gap: 12px !important;
    width: min(100%, 300px) !important;
    margin: 0 auto 14px !important;
}

.tereapo-shell .stat-item {
    display: block !important;
    min-height: 0 !important;
    padding: 8px 4px 4px !important;
    border-top: 1px solid rgba(157, 235, 255, .68);
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-align: center !important;
}

.tereapo-shell .stat-number {
    margin: 0 0 2px !important;
    color: #fff !important;
    font-family: 'Zen Old Mincho', 'Yu Mincho', serif !important;
    font-size: 2rem !important;
    letter-spacing: 0 !important;
    text-shadow: 0 1px 10px rgba(0, 9, 20, .7) !important;
}

.tereapo-shell .stat-label {
    color: #c7e6f3 !important;
    font-family: 'Zen Old Mincho', 'Yu Mincho', serif !important;
    font-size: .68rem !important;
    letter-spacing: 0 !important;
}

.tereapo-shell .hero-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
}

.tereapo-shell .hero-buttons .button:first-child {
    grid-column: 1 / -1 !important;
}

.tereapo-shell .hero .button,
.tereapo-shell .hero .button-large {
    width: 100% !important;
    min-height: 44px !important;
    padding: 9px 11px !important;
    border-radius: 4px !important;
    font-family: 'Zen Old Mincho', 'Yu Mincho', serif !important;
    font-size: .85rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

.tereapo-shell .hero .button-content {
    justify-content: center;
    gap: 6px;
}

.tereapo-shell .hero .button-icon,
.tereapo-shell .hero .button-arrow {
    font-size: 1rem !important;
}

.tereapo-shell .hero .button-primary {
    color: #052447 !important;
    background: #b7ecff !important;
    border: 1px solid #e1f9ff !important;
    box-shadow: 0 7px 22px rgba(0, 12, 28, .25) !important;
}

.tereapo-shell .hero .button-secondary {
    color: #fff !important;
    background: rgba(1, 23, 48, .68) !important;
    border: 1px solid rgba(189, 237, 255, .72) !important;
    box-shadow: none !important;
}

@media (max-width: 540px) {
    body:has(.tereapo-shell) {
        background: #fff !important;
    }

    .tereapo-shell {
        box-shadow: none;
    }
}

@media (max-width: 380px) {
    .tereapo-shell .hero {
        padding-top: 238px !important;
    }

    .tereapo-shell .hero .container {
        width: min(100% - 32px, 430px) !important;
    }

    .tereapo-shell .title-main,
    .tereapo-shell .title-main:last-of-type {
        font-size: 2.1rem !important;
    }
}

.tereapo-shell .hero-stats-note {
    width: min(100%, 300px);
    margin: -6px auto 14px !important;
    color: #c7e6f3 !important;
    font-size: .6rem !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 9, 20, .7);
}

.tereapo-shell .hero-buttons--stack .button {
    grid-column: 1 / -1 !important;
}
