:root {
    color-scheme: dark;
    --ink: #f7f1e5;
    --muted: #e0d4bd;
    --deep: #0f1712;
    --deep-strong: #07100b;
    --leaf: #314835;
    --gold: #dfbf75;
    --gold-soft: #f0d998;
    --line: rgba(247, 241, 229, .34);
    --panel: rgba(9, 18, 13, .58);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--deep);
}

body {
    min-height: 100%;
    margin: 0;
    font-family: Optima, Candara, "Gill Sans", sans-serif;
    color: var(--ink);
    background: var(--deep);
}

a {
    color: inherit;
}

.teaser {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(24px, 5vw, 64px);
}

.teaser__background,
.teaser__background::before,
.teaser__background::after {
    position: absolute;
    inset: 0;
}

.teaser__background {
    z-index: -1;
    background-image: url("../images/seremban-heights-background.jpeg");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.teaser__background::before {
    content: "";
    background:
        radial-gradient(circle at center, rgba(10, 21, 14, .46), rgba(5, 11, 8, .76) 62%, rgba(5, 11, 8, .90) 100%),
        linear-gradient(180deg, rgba(7, 14, 10, .38), rgba(7, 14, 10, .68));
}

.teaser__background::after {
    content: "";
    background-image:
        radial-gradient(circle at center, rgba(223, 191, 117, .20), transparent 26rem),
        linear-gradient(rgba(247, 241, 229, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 241, 229, .045) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    mix-blend-mode: screen;
    opacity: .45;
}

.teaser__content {
    position: relative;
    z-index: 1;
    width: min(100%, 860px);
    margin-inline: auto;
    padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 48px);
    text-align: center;
    animation: content-rise .72s ease-out both;
}

.teaser__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 auto 18px;
    padding: 7px 16px;
    border: 1px solid rgba(223, 191, 117, .42);
    border-radius: 999px;
    font-size: clamp(.72rem, 1.4vw, .82rem);
    font-weight: 700;
    letter-spacing: .20em;
    line-height: 1.45;
    text-transform: uppercase;
    color: var(--gold-soft);
    background: rgba(9, 18, 13, .38);
    backdrop-filter: blur(18px);
}

.teaser__logo {
    display: block;
    width: clamp(172px, 22vw, 242px);
    height: auto;
    margin: 0 auto clamp(18px, 3vw, 26px);
    filter:
        drop-shadow(0 18px 34px rgba(0, 0, 0, .44))
        drop-shadow(0 0 20px rgba(223, 191, 117, .12));
}

.teaser h1 {
    max-width: 15ch;
    margin: 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.85rem, 5.9vw, 5.75rem);
    font-weight: 500;
    line-height: .88;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 18px 46px rgba(0, 0, 0, .46);
}

.teaser__copy {
    max-width: 680px;
    margin: clamp(16px, 2.4vw, 22px) 0 0;
    margin-inline: auto;
    font-size: clamp(1rem, 1.65vw, 1.18rem);
    font-weight: 500;
    line-height: 1.72;
    color: var(--muted);
    text-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.teaser__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 720px;
    margin: clamp(16px, 2.6vw, 22px) auto 0;
    padding: 0;
    list-style: none;
}

.teaser__trust li {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 13px;
    border: 1px solid rgba(247, 241, 229, .22);
    border-radius: 999px;
    color: rgba(247, 241, 229, .86);
    background: rgba(9, 18, 13, .38);
    backdrop-filter: blur(16px);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
}

.teaser__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(22px, 3.5vw, 32px);
}

.teaser__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 190px;
    padding: 14px 24px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease;
}

.teaser__button:focus-visible {
    outline: 3px solid rgba(216, 181, 106, .82);
    outline-offset: 4px;
}

.teaser__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, .30);
}

.teaser__button--primary {
    color: var(--deep-strong);
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    border-color: rgba(240, 217, 152, .92);
}

.teaser__button--primary:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.teaser__button--secondary {
    color: var(--ink);
    background: var(--panel);
    backdrop-filter: blur(18px);
}

.teaser__button--secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

@keyframes content-rise {
    from {
        transform: translateY(18px);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .teaser {
        min-height: 100dvh;
        padding: 22px;
    }

    .teaser__background {
        background-position: center;
    }

    .teaser__background::before {
        background:
            radial-gradient(circle at center, rgba(10, 21, 14, .38), rgba(5, 11, 8, .72) 58%, rgba(5, 11, 8, .90)),
            linear-gradient(180deg, rgba(5, 11, 8, .44), rgba(5, 11, 8, .74));
    }

    .teaser__content {
        width: 100%;
        padding: 18px 0 8px;
    }

    .teaser__logo {
        width: min(54vw, 196px);
    }

    .teaser h1 {
        max-width: 11ch;
        font-size: clamp(2.75rem, 13.2vw, 4.25rem);
    }

    .teaser__copy {
        max-width: 32rem;
    }

    .teaser__trust {
        gap: 8px;
    }

    .teaser__trust li {
        min-height: 32px;
        padding: 7px 11px;
        font-size: .72rem;
    }

    .teaser__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .teaser__button {
        width: 100%;
        min-height: 54px;
        padding-inline: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
