html {
    scroll-behavior: smooth;
}

body {
    background-color: #0B1220;
    color: #F5F1E8;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

/* Typography: Lato 700 — hero, section titles, nav brand, feature headings */
.type-hero,
.type-heading {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.type-hero {
    line-height: 1.08;
}

/* Slightly tighter for long card titles */
.type-heading-tight {
    letter-spacing: 0.12em;
}

/* Lato bold, title case — names / display lines (not all-caps) */
.type-heading-display {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
}

/* Lato 400 — taglines, subheads, quotes, accents */
.type-accent {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    letter-spacing: 0.08em;
    font-style: normal;
    text-transform: none;
}

/* Hero: full-bleed photography (file: assets/hero-bg.jpg) */
.hero-bg-photo {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-photo {
        transform: none;
    }
}

.gradient-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-mesh::before,
.gradient-mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.42;
    animation: drift 20s ease-in-out infinite alternate;
}

.gradient-mesh::before {
    width: 55vmin;
    height: 55vmin;
    background: radial-gradient(circle, rgba(217, 164, 65, 0.28) 0%, transparent 70%);
    top: -8%;
    left: -8%;
}

.gradient-mesh::after {
    width: 75vmin;
    height: 75vmin;
    background: radial-gradient(circle, rgba(19, 34, 56, 0.88) 0%, transparent 65%);
    bottom: -22%;
    right: -12%;
    animation-delay: -7s;
    animation-duration: 24s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(3%, 4%) scale(1.06); }
}

.hero-shine {
    background: linear-gradient(
        125deg,
        rgba(217, 164, 65, 0.07) 0%,
        transparent 42%,
        transparent 58%,
        rgba(230, 223, 205, 0.05) 100%
    );
    background-size: 200% 200%;
    animation: shine 16s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.glass {
    background: linear-gradient(
        145deg,
        rgba(245, 241, 232, 0.06) 0%,
        rgba(11, 18, 32, 0.4) 100%
    );
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(217, 164, 65, 0.14);
    box-shadow:
        0 4px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(245, 241, 232, 0.05);
}

.glass:hover {
    border-color: rgba(217, 164, 65, 0.26);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(217, 164, 65, 0.1),
        inset 0 1px 0 rgba(245, 241, 232, 0.07);
}

.card-lift {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease;
}

.card-lift:hover {
    transform: translateY(-6px);
}

.nav-transparent {
    background: rgba(11, 18, 32, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(217, 164, 65, 0.08);
    transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}

.nav-solid {
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-color: rgba(217, 164, 65, 0.12);
}

.gold-glow-soft {
    text-shadow: 0 0 48px rgba(217, 164, 65, 0.22);
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }

.launch-pill {
    background: rgba(245, 241, 232, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 164, 65, 0.18);
}

.icon-stroke {
    stroke: #D9A441;
    fill: none;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.divider-soft {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.28), transparent);
}

.hero-scroll-next svg {
    animation: hero-arrow-nudge 2.2s ease-in-out infinite;
}

@keyframes hero-arrow-nudge {
    0%, 100% { transform: translateY(0); opacity: 0.85; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* Sydney carousel: horizontal scroll-snap */
.carousel-track {
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(1.25rem, calc((100vw - 42rem) / 2));
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(217, 164, 65, 0.35) rgba(11, 18, 32, 0.35);
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: rgba(11, 18, 32, 0.35);
    border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: rgba(217, 164, 65, 0.35);
    border-radius: 999px;
}

.carousel-slide {
    scroll-snap-align: center;
}

.carousel-slide-img {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide:hover .carousel-slide-img {
    transform: scale(1.03);
}

.carousel-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    color: #f5f1e8;
    background: rgba(11, 18, 32, 0.72);
    border: 1px solid rgba(217, 164, 65, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.carousel-nav-btn:hover {
    color: #d9a441;
    border-color: rgba(217, 164, 65, 0.45);
    background: rgba(19, 34, 56, 0.88);
}

.carousel-nav-btn:focus-visible {
    outline: 2px solid #d9a441;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .gradient-mesh::before,
    .gradient-mesh::after,
    .hero-shine {
        animation: none !important;
    }

    .hero-scroll-next svg {
        animation: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .carousel-track {
        scroll-behavior: auto;
    }

    .carousel-slide-img {
        transition: none;
    }

    .carousel-slide:hover .carousel-slide-img {
        transform: none;
    }
}
