/* ============================================================
   MANA — THE RIGHT LIFE
   Main Stylesheet
   ============================================================ */

/* ─── RESET & BOX MODEL ─── */
/* Universal reset to ensure consistent spacing and sizing */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ─── CSS CUSTOM PROPERTIES (Design Tokens) ─── */
/* Centralized design tokens for colors, spacing, and sizing */
:root {
    --gold: #FFCC02;
    --gold-hover: #e6b800;
    --dark: #111111;
    --text: #1a1a1a;
    --muted: #777;
    --light-muted: #aaa;
    --bg: #ffffff;
    --bg-alt: #f8f7f5;
    --border: rgba(0, 0, 0, 0.08);
    --section-pad: 110px;
}

/* ─── BASE STYLES ─── */
/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Global body typography and background */
body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}


/* ============================================================
   UTILITIES
   Reusable layout and typography helpers
   ============================================================ */

/* Main content container with max-width and horizontal padding */
.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 70px;
}

/* Small uppercase label used above section headings */
.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}

/* Large serif heading used for section titles */
.section-heading {
    font-family: 'Scheherazade New', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--text);
    line-height: 1.1;
}


/* ============================================================
   REVEAL ANIMATIONS
   Scroll-triggered entrance animations for elements
   ============================================================ */

/* Fade-up reveal (default scroll animation) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

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

/* Fade-in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade-in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delay classes for sequenced reveal animations */
.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

.d5 {
    transition-delay: .5s
}


/* ============================================================
   NAVIGATION
   Fixed top navbar with transparent-to-white scroll transition
   ============================================================ */

/* Fixed nav bar — transparent on top, white on scroll */
.nav {
    /* position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000; */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    /* padding: 26px 70px; */
    background: transparent;
    transition: background .4s ease, box-shadow .4s ease;
}

/* Nav state after user scrolls past hero */
.elementor-location-header.scrolled {
    background: #fff;
    /* padding: 26px 70px; */
    box-shadow: 0 1px 30px rgba(0, 0, 0, .07);
}
.elementor-location-header.scrolled > div {
  background: #FFF;
}

/* Logo container */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* Logo image — inverted (white) by default, normal on scroll */
.logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter .4s;
}

.nav.scrolled .logo img {
    filter: brightness(0);
    height: 60px;
}

/* Right-side Mana Skanda logo — sits in the right 1fr column */
.nav-logo-right {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    justify-self: end;
}

.nav-logo-right img {
    height: 66px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter .4s;
}

.nav.scrolled .nav-logo-right img {
    filter: brightness(0);
    height: 66px;
}

/* Horizontal nav link list — sits in the centre auto column */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
    justify-self: center;
    margin: 0px;
}

.nav-links>li {
    position: relative;
}

/* Nav link text — white by default, dark on scroll */
.nav-links>li>a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .3px;
    position: relative;
    transition: color .25s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Gold underline on hover */
.nav-links>li>a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .3s ease;
}

.nav-links>li>a:hover::after {
    width: 100%;
}

/* Scrolled state: dark text links */
.nav.scrolled .nav-links>li>a {
    color: var(--text);
}

/* Dropdown chevron arrow icon */
.nav-links .dropdown-arrow {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: rgba(255, 255, 255, .7);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s, stroke .3s;
}

.nav.scrolled .nav-links .dropdown-arrow {
    stroke: var(--muted);
}

/* Rotate arrow on hover */
.nav-links>li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu panel */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .3s, visibility .3s, transform .3s;
    list-style: none;
    z-index: 1001;
}

/* Invisible bridge over the 16px gap so cursor can travel from
   parent nav link to dropdown without losing hover */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

/* Show dropdown on parent hover */
.nav-links>li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Individual dropdown link items */
.nav-dropdown li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.nav-dropdown li a:hover {
    background: var(--bg-alt);
    color: var(--dark);
}

/* ── Solitaire premium nav item ── */
.nav-solitaire-item {
    position: relative;
}

.nav-solitaire-link {
    padding: 0 !important;
}

.solitaire-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #fffdf7;
    transition: background 0.3s;
    padding: 10px 18px;
    margin: 4px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #7a5c1e;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

.solitaire-wrap:hover {
    background: #fffbef;
}

.sol-diamond-icon {
    width: 16px;
    height: 16px;
    color: #b8892a;
    flex-shrink: 0;
}

.glare {
    position: absolute;
    top: -150%;
    left: -60%;
    width: 40%;
    height: 400%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.78) 45%,
            rgba(255, 255, 255, 0.92) 50%,
            rgba(255, 255, 255, 0.78) 55%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-30deg) translateX(-200%);
    pointer-events: none;
    z-index: 2;
}

.solitaire-wrap:hover .glare {
    animation: diagonalGlare 2s cubic-bezier(0.25, 0.1, 0.1, 1.0) forwards;
}

@keyframes diagonalGlare {
    0% {
        transform: skewX(-30deg) translateX(-200%);
    }

    100% {
        transform: skewX(-30deg) translateX(700%);
    }
}

/* "Book A Site Visit" CTA button in navbar */
.nav-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 13px 28px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s, transform .2s;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}


/* ============================================================
   HERO SECTION
   Full-viewport hero banner with gradient overlay
   ============================================================ */

/* Full-width hero wrapper */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    /* avoid iOS Safari address-bar jump */
    overflow: hidden;
}

/* Dark gradient overlay at the top for nav readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero banner image — covers the full section */
.hero-img {
    display: block;
    width: 100%;
    height: 115%;
    /* extra height to absorb parallax + Ken Burns scale */
    object-fit: cover;
    object-position: center center;
    will-change: transform;
    transform-origin: center center;
}

/* Scroll indicator at the bottom of the hero */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, .75);
    text-transform: uppercase;
}

/* Animated scroll line with gold drop animation */
.scroll-line {
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, .35);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollDrop 1.8s ease-in-out infinite;
}

/* Keyframe for the scroll indicator's gold drop animation */
@keyframes scrollDrop {
    0% {
        top: -100%
    }

    100% {
        top: 200%
    }
}


/* ============================================================
   PRELOADER
   Full-screen cinematic double-door loader
   ============================================================ */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: all;
}

/* Left & right door panels — open outward on exit */
.pre-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0a0a0a;
    z-index: 1;
    /* Subtle inner texture to give the doors depth */
    background-image: radial-gradient(ellipse at center, #161616 0%, #0a0a0a 70%);
}

.pre-door-left {
    left: 0;
    transform-origin: left center;
}

.pre-door-right {
    right: 0;
    transform-origin: right center;
}

/* Gold seam — split into two segments so it doesn't cross the branding */
.pre-seam {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    z-index: 2;
    pointer-events: none;
}

/* Top segment: screen top → just above the logo (~28% of viewport) */
.pre-seam-top {
    top: 0;
    height: calc(50% - 210px);
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 204, 2, 0.5) 20%,
            rgba(255, 204, 2, 0.75) 100%);
}

/* Bottom segment: just below tagline (~72% of viewport) → screen bottom */
.pre-seam-bottom {
    bottom: 0;
    height: calc(50% - 170px);
    background: linear-gradient(to top,
            transparent 0%,
            rgba(255, 204, 2, 0.5) 20%,
            rgba(255, 204, 2, 0.75) 100%);
}

/* Centered content: logo + bar + tagline */
.pre-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 1;
}

.pre-skanda {
    width: 240px;
    opacity: 0;
    /* animated in via GSAP */
    filter: brightness(0) invert(1);
}

.pre-logo {
    width: 220px;
    opacity: 0;
    /* animated in via GSAP */
    filter: brightness(0) invert(1);
    /* pure white — same as nav/footer logo */
}

/* Thin gold progress bar */
.pre-bar-wrap {
    width: 160px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.pre-bar {
    height: 100%;
    width: 0%;
    background: var(--gold);
}

.pre-tagline {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    opacity: 0;
    /* animated in via GSAP */
}

/* ============================================================
   HERO CONTENT — Heading, label, CTA overlay
   ============================================================ */

/* Dark gradient at bottom for text legibility */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.60) 0%,
            rgba(0, 0, 0, 0.20) 40%,
            transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Text block — centred vertically so it's always in the viewport */
.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 70px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* Small eyebrow label */
.hero-label {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

/* Main headline */
.hero-heading {
    font-family: 'Scheherazade New', serif;
    font-weight: 300;
    font-size: clamp(28px, 3.5vw, 52px);
    line-height: 1.05;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Each headline line *1
.hero-line {
    display: block;
    opacity: 1;
}

.hero-line em {
    font-style: italic;
    color: var(--gold);
}

/* Hero CTA button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 204, 2, 0.6);
    padding-bottom: 4px;
    opacity: 1;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-cta:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.hero-cta svg {
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   ABOUT SECTION
   Two-column layout: illustration left, text content right
   ============================================================ */

.about {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

/* Two-column grid layout for about section */
.about-inner {
    display: grid;
    grid-template-columns: 58fr 42fr;
    gap: 72px;
    align-items: center;
}

.about-left {
    position: relative;
}

/* Illustration container — slightly taller than native 3:2 for more presence */
.about-illustration {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0;
}

.about-illustration svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* About photo — full cover fit */
.about-illustration img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-position: center;
    display: block;
}

/* Text overlay positioned on top of illustration */
.about-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

/* Large serif heading in the overlay */
.about-overlay-heading {
    font-family: 'Scheherazade New', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--text);
    line-height: 1.15;
    text-align: center;
}

.about-overlay-heading em {
    display: block;
    font-style: italic;
}

/* Word-by-word text reveal animation */
.about-overlay-heading .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.about-text-overlay.visible .word {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered word delays */
.about-text-overlay.visible .word:nth-child(2) {
    transition-delay: .15s;
}

.about-text-overlay.visible .word:nth-child(3) {
    transition-delay: .3s;
}

/* Right column text content */
.about-right-content .section-label {
    margin-bottom: 20px;
}

/* About section heading */
.about-right-content h2 {
    font-family: 'Scheherazade New', serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 28px;
}

/* About section body text */
.about-right-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 24px;
}

/* "Explore The Architecture" CTA button with arrow */
.about-right-content .about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    border: 1.5px solid var(--text);
    padding: 14px 32px;
    transition: background .25s, color .25s, gap .25s;
}

.about-right-content .about-cta:hover {
    background: var(--dark);
    color: #fff;
    gap: 12px;
}

/* Horizontal divider line below the about section */
.about-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}


/* ============================================================
   PROVINCES INTRO
   Label and heading above the provinces parallax panels
   ============================================================ */

.provinces-intro {
    padding: 40px 0 20px;
    background: var(--bg);
}

.provinces-intro .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* ============================================================
   3D ORBIT VIEWER — Premium Interactive Township Showcase
   Smooth drag-to-rotate with 5 images, inertia, and interpolation
   ============================================================ */

.orbit-viewer-section {
    padding: 20px 0 60px;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(212, 175, 115, 0.03) 100%);
    overflow: hidden;
}

.orbit-viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Canvas container — the image display area */
.orbit-canvas {
    position: relative;
    width: 85%;
    aspect-ratio: 16 / 10;
    border-radius: 0;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: none;
}

.orbit-canvas.dragging {
    cursor: grabbing;
}

/* Image element with smooth transitions */
.orbit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.orbit-image.transitioning {
    transition: opacity 0.2s ease-out;
}

/* Loading spinner */
.orbit-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.orbit-loading.hidden {
    pointer-events: none;
    opacity: 0;
}

/* Spinner animation */
.orbit-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 115, 0.2);
    border-top-color: #d4af73;
    border-radius: 50%;
    animation: orbitSpin 0.8s linear infinite;
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Controls and info */
.orbit-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px;
}

.orbit-hint {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(54, 52, 53, 0.5);
}

/* Frame indicators (dots) */
.orbit-frame-indicators {
    display: flex;
    gap: 8px;
}

.orbit-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 175, 115, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.orbit-indicator-dot.active {
    background: #d4af73;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .orbit-viewer {
        gap: 30px;
    }

    .orbit-canvas {
        border-radius: 0;
    }

    .orbit-hint {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .orbit-viewer-section {
        padding: 40px 0;
    }

    .orbit-canvas {
        aspect-ratio: 1 / 1;
    }
}


/* ============================================================
   TOWNSHIP INTRO — Editorial split layout
   Headline left / copy + CTAs right / aerial image below
   ============================================================ */

.township-story {
    background: var(--bg);
    padding: 40px 0 80px;
    position: relative;
}

/* ── Two-column split row ── */
.ts-split {
    display: grid;
    grid-template-columns: 57fr 43fr;
    align-items: center;
    gap: 80px;
    padding-bottom: 72px;
}

/* ── Left: serif headline — matches site-wide .section-heading ── */
.township-story-heading {
    font-family: 'Scheherazade New', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--text);
    line-height: 1.15;
    margin: 0;
}

/* Each line clips its inner span for the GSAP upward curtain reveal */
.ts-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.07em;
}

.ts-line-inner {
    display: block;
}

/* Third line: italic, muted */
.ts-line-italic .ts-line-inner {
    font-style: italic;
    color: var(--muted);
}

/* ── Right: eyebrow + body + CTAs ── */
.ts-split-right {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-bottom: 6px;
}

.ts-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
}

.ts-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
    font-weight: 400;
    margin: 0;
}

/* ── CTA pair ── */
.ts-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ts-btn-primary {
    display: inline-block;
    padding: 12px 26px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--dark);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.ts-btn-primary:hover {
    background: var(--gold);
    color: var(--dark);
}

.ts-btn-secondary {
    display: inline-block;
    padding: 11px 26px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.22);
    text-decoration: none;
    transition: border-color 0.28s ease, color 0.28s ease;
}

.ts-btn-secondary:hover {
    border-color: var(--gold);
    color: #a08200;
}

/* ── Aerial photograph ── */
.ts-image {
    overflow: hidden;
    border-radius: 0;
    line-height: 0;
}

.ts-image img {
    width: 100%;
    height: 60vh;
    min-height: 380px;
    max-height: 640px;
    object-fit: cover;
    object-position: center 55%;
    display: block;
    transition: transform 0.9s cubic-bezier(.16, 1, .3, 1);
}

.ts-image:hover img {
    transform: scale(1.02);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ts-split {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
}

@media (max-width: 768px) {
    .township-story {
        padding: 30px 0 0;
    }

    .ts-split {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 48px;
    }

    .township-story-heading {
        font-size: 36px;
    }

    .ts-image img {
        height: 44vh;
        min-height: 260px;
    }
}


/* ============================================================
   ORBIT PROVINCES LAYOUT
   3-column grid: left labels | orbit disc center | right labels
   Province items on each side connect to the disc with a line
   Hover reveals a floating card over the orbit area
   ============================================================ */

/* Allow hover cards to bleed beyond the section boundary */
.orbit-viewer-section {
    overflow: visible;
}

.orbit-provinces-layout {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    align-items: center;
    max-width: 1380px;
    margin: 0 auto;
    padding: 20px 60px 60px;
    gap: 0;
}

/* Override the standalone centering styles when inside the 3-col layout */
.orbit-provinces-layout .orbit-viewer {
    max-width: none;
    margin: 0;
    width: 100%;
}

.orbit-provinces-layout .orbit-canvas {
    width: 100%;
}

/* Province columns */
.orbit-prov-col {
    display: flex;
    flex-direction: column;
    gap: 54px;
    overflow: visible;
}

/* Each province row fills its column width */
.orbit-prov-item {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

/* ── LEFT COLUMN: text (right-aligned) → line stretching rightward ── */
.orbit-prov-left .orbit-prov-item {
    flex-direction: row;
}

.orbit-prov-left .orbit-prov-content {
    text-align: right;
    flex-shrink: 0;
    order: 1;
}

.orbit-prov-left .orbit-prov-line {
    flex: 1;
    margin-left: 18px;
    order: 2;
    background: linear-gradient(to right, rgba(212, 175, 115, 0.12) 0%, rgba(212, 175, 115, 0.75) 100%);
}

/* ── RIGHT COLUMN: line stretching leftward → text (left-aligned) ── */
.orbit-prov-right .orbit-prov-item {
    flex-direction: row;
}

.orbit-prov-right .orbit-prov-line {
    flex: 1;
    margin-right: 18px;
    order: 1;
    background: linear-gradient(to right, rgba(212, 175, 115, 0.75) 0%, rgba(212, 175, 115, 0.12) 100%);
}

.orbit-prov-right .orbit-prov-link {
    order: 2;
}

.orbit-prov-right .orbit-prov-content {
    text-align: left;
    flex-shrink: 0;
    order: 2;
}

/* Province text */
.orbit-prov-content {
    padding: 0;
}

.orbit-prov-num {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 5px;
    transition: opacity 0.3s;
}

.orbit-prov-name {
    display: block;
    font-family: 'Scheherazade New', serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.orbit-prov-item:hover .orbit-prov-name {
    color: #c9a24e;
}

.orbit-prov-tag {
    font-size: 11.5px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
    max-width: 210px;
}

.orbit-prov-right .orbit-prov-tag {
    max-width: 210px;
}

/* Connecting line */
.orbit-prov-line {
    height: 1px;
    max-width: 12px;
    transition: opacity 0.3s;
}

.orbit-prov-item:hover .orbit-prov-line {
    background: rgba(212, 175, 115, 0.9) !important;
}

/* ── HOVER CARDS ── */
.orbit-prov-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.94);
    width: 272px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.14), 0 4px 14px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(.16, 1, .3, 1),
        transform 0.35s cubic-bezier(.16, 1, .3, 1);
    z-index: 200;
}

.orbit-prov-card.visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

/* Left-col cards open rightward (over the orbit disc gap) */
.orbit-prov-card-right {
    left: calc(100% + 18px);
}

/* Right-col cards open leftward (over the orbit disc gap) */
.orbit-prov-card-left {
    right: calc(100% + 18px);
}

.orbit-prov-card-img {
    height: 152px;
    overflow: hidden;
}

.orbit-prov-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.orbit-prov-card.visible .orbit-prov-card-img img {
    transform: scale(1.05);
}

.orbit-prov-card-body {
    padding: 16px 18px 20px;
}

.orbit-prov-card-num {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.orbit-prov-card-name {
    font-family: 'Scheherazade New', serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--dark);
    margin: 0 0 9px;
    line-height: 1.2;
}

.orbit-prov-card-body p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

/* Orbit province link — invisible on desktop, becomes card on mobile */
.orbit-prov-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* ── RESPONSIVE ORBIT PROVINCES ── */
@media (max-width: 1200px) {
    .orbit-provinces-layout {
        grid-template-columns: 240px 1fr 240px;
        padding: 20px 30px 50px;
    }

    .orbit-prov-name {
        font-size: 24px;
    }

    .orbit-prov-card {
        width: 240px;
    }
}

@media (max-width: 900px) {
    .orbit-provinces-layout {
        display: flex;
        flex-direction: column;
        gap: 36px;
        padding: 20px 24px 50px;
    }

    .orbit-prov-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
    }

    /* Make left column (2 items) and right column (3 items) work together */
    .orbit-prov-left {
        grid-template-columns: repeat(2, 1fr);
    }

    .orbit-prov-right {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Last item in right column (Solitaire) spans both columns and centers */
    .orbit-prov-right .orbit-prov-item:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 8px);
        margin: 0 auto;
    }

    .orbit-prov-item {
        flex-direction: column !important;
        align-items: center;
        width: 100%;
        aspect-ratio: 2.5 / 1;
        display: flex;
        justify-content: center;
    }

    .orbit-prov-link {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .orbit-prov-left .orbit-prov-content,
    .orbit-prov-right .orbit-prov-content {
        text-align: center;
        order: unset;
        width: 100%;
    }

    .orbit-prov-line {
        display: none;
    }

    .orbit-prov-card {
        display: none;
    }

    .orbit-prov-tag {
        display: none;
    }

    .orbit-prov-name {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .orbit-prov-num {
        font-size: 9px;
    }

    .orbit-provinces-layout .orbit-canvas {
        aspect-ratio: 4 / 3;
    }
}


/* ============================================================
   PROVINCES PANELS (Parallax Scroll Sections)
   Full-viewport parallax panels for each province showcase
   ============================================================ */

/* Wrapper for all province panels */
.animation-provinces {
    position: relative;
}

/* Each province takes up a full viewport height */
.prov-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Outer and inner wrappers for overflow clipping */
.prov-outer,
.prov-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Background container aligned to bottom for content positioning */
.prov-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
}

/* Image wrapper — clips the oversized parallax image */
.prov-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Parallax background image — taller than viewport for movement */
.prov-img {
    position: absolute;
    width: 100%;
    height: 180%;
    top: -40%;
    left: 0;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    display: block;
}

/* Gradient overlay at the bottom for text readability */
.prov-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .75) 0%,
            rgba(0, 0, 0, .2) 50%,
            rgba(0, 0, 0, 0) 100%);
}

/* Progressive darkening overlay — controlled by JS on scroll */
.prov-dark-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background .3s;
}

/* Province text content — positioned at bottom left */
.prov-content {
    position: relative;
    z-index: 3;
    padding: 0 70px 70px;
    width: 100%;
}

/* Province number label (e.g., "01") */
.prov-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    display: block;
    margin-bottom: 12px;
}

/* Province name — large serif title with slide-up animation */
.prov-name {
    font-family: 'Scheherazade New', serif;
    font-size: 64px;
    font-weight: 300;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Inner span for slide-up text reveal */
.prov-name-inner {
    display: block;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}

/* When section scrolls into view, name slides up */
.prov-section.in-view .prov-name-inner {
    transform: translateY(0);
}

/* Province tagline text — fades in after name */
.prov-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s .2s, transform .8s .2s cubic-bezier(.16, 1, .3, 1);
}

.prov-section.in-view .prov-tagline {
    opacity: 1;
    transform: translateY(0);
}

/* "Explore Province" CTA button — appears last */
.province-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 24px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    transition: background .25s, gap .25s, opacity .6s .35s, transform .6s .35s cubic-bezier(.16, 1, .3, 1);
}

.prov-section.in-view .province-cta {
    opacity: 1;
    transform: translateY(0);
}

.province-cta:hover {
    background: var(--gold-hover);
    gap: 14px;
}

/* Province top-left corner label (e.g., "Province 01") */
.prov-top-label {
    position: absolute;
    top: 50px;
    left: 70px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.prov-top-label span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

/* Decorative line before the province label */
.prov-top-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, .3);
}


/* ============================================================
   STATS SECTION
   Four-column statistics bar on dark background
   ============================================================ */

.stats {
    padding: 80px 0;
    background: #0b1d26;
}

/* Stats laid out in a 4-column grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Individual stat item with right border separator */
.stat-item {
    padding: 50px 40px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.stat-item:last-child {
    border-right: none;
}

/* Large number display */
.stat-number {
    font-family: 'Scheherazade New', serif;
    font-size: 64px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

/* Gold "+" suffix on stat numbers */
.stat-suffix {
    font-size: 32px;
    color: var(--gold);
}

/* Small uppercase label below stat numbers */
.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
}

/* Descriptor line below stat label */
.stat-desc {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, .60);
    font-style: italic;
}


/* ============================================================
   HIGHLIGHT SECTION
   Centered content block with family illustration
   ============================================================ */

.highlight {
    position: relative;
    padding: var(--section-pad) 0;
    background: var(--bg-alt);
    overflow: hidden;
}

/* Split layout: text left, video right */
.highlight-inner {
    display: grid;
    grid-template-columns: 48fr 52fr;
    gap: 80px;
    align-items: center;
    max-width: none;
    margin: 0;
    text-align: left;
}

/* Video container */
.highlight-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.highlight-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svg-container {
    position: relative;
    width: 80%;
    max-width: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

/* Premium glowing line tracer - traces the actual SVG line */
.glow-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.glow-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 120px;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 115, 0.9) 0%, rgba(212, 175, 115, 0.5) 40%, transparent 100%);
    filter: blur(10px);
    box-shadow: 0 0 30px rgba(212, 175, 115, 0.7);
    animation: traceGlow 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes traceGlow {
    0% {
        left: -80%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Animated SVG Path Styling */
.family-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(54, 52, 53, 0.1));
}

#familyLinePath {
    fill: none;
    stroke: #363435;
    stroke-width: 6.0335;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Drawing animation — ink-like feel, left to right */
#familyLinePath.drawing {
    animation: drawLine 8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes drawLine {
    from {
        stroke-dashoffset: var(--path-length);
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* Highlight section heading */
.highlight-content .section-heading {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 24px;
    text-align: left;
}

/* Highlight body text */
.highlight-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 0;
    text-align: left;
}


/* ============================================================
   LOCATION POI — Interactive aerial pin map
   Light bg, scroll zoom-out image, category-filter pins
   ============================================================ */

.loc-poi {
    background: var(--bg);
    padding: 0;
    /* Full-bleed — no header above map */
}

.loc-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    color: var(--muted);
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.loc-filter:hover {
    border-color: var(--dark);
    color: var(--dark);
}

.loc-filter.active {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
}

.loc-filter svg {
    flex-shrink: 0;
}

/* ── Map outer — relative, no overflow:hidden so tooltips escape ── */
.loc-map-outer {
    position: relative;
    height: 96vh;
    min-height: 640px;
    max-height: 1080px;
}

/* ── Image clip — overflow:hidden isolates the scaling image ── */
.loc-map-img-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.loc-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    will-change: transform;
    transform: scale(1.1);
    /* GSAP animates to scale(1) */
    display: block;
}

/* ── Pins ── */
.loc-pin {
    position: absolute;
    left: var(--px);
    top: var(--py);
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.3s ease;
}

.loc-pin--hidden {
    opacity: 0.15;
    pointer-events: none;
}

.loc-pin-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.22s cubic-bezier(.16, 1, .3, 1), box-shadow 0.22s ease;
    color: var(--dark);
    position: relative;
}

/* Subtle coloured ring on hover from category */
.loc-pin:hover .loc-pin-btn {
    transform: scale(1.18) translateY(-2px);
}

.loc-pin[data-cat="shopping"]:hover .loc-pin-btn {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18), 0 0 0 2.5px #e8a03b;
}

.loc-pin[data-cat="entertainment"]:hover .loc-pin-btn {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18), 0 0 0 2.5px #6c9b8c;
}

.loc-pin[data-cat="education"]:hover .loc-pin-btn {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18), 0 0 0 2.5px #7b8cba;
}

.loc-pin[data-cat="itparks"]:hover .loc-pin-btn {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18), 0 0 0 2.5px #a07bc0;
}

/* ── Tooltip card — appears above pin ── */
.loc-pin-card {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #ffffff;
    padding: 11px 15px 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.16, 1, .3, 1);
    z-index: 30;
    min-width: 148px;
    border-top: 2.5px solid transparent;
}

/* Arrow pointing down from card */
.loc-pin-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #ffffff;
}

.loc-pin:hover .loc-pin-card {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Right-edge pins: card opens to the LEFT */
.loc-pin-card--left {
    left: auto;
    right: -4px;
    transform: translateX(0) translateY(8px);
}

.loc-pin-card--left::after {
    left: auto;
    right: 14px;
    transform: none;
}

.loc-pin:hover .loc-pin-card--left {
    transform: translateX(0) translateY(0);
}

/* Top-edge pins: card opens BELOW */
.loc-pin-card--below {
    bottom: auto;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(-8px);
}

.loc-pin-card--below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #ffffff;
}

.loc-pin:hover .loc-pin-card--below {
    transform: translateX(-50%) translateY(0);
}

/* Combined modifier: below + left */
.loc-pin-card--below.loc-pin-card--left {
    transform: translateX(0) translateY(-8px);
}

.loc-pin:hover .loc-pin-card--below.loc-pin-card--left {
    transform: translateX(0) translateY(0);
}

/* Category colour stripe on card */
.loc-pin[data-cat="shopping"] .loc-pin-card {
    border-top-color: #e8a03b;
}

.loc-pin[data-cat="entertainment"] .loc-pin-card {
    border-top-color: #6c9b8c;
}

.loc-pin[data-cat="education"] .loc-pin-card {
    border-top-color: #7b8cba;
}

.loc-pin[data-cat="itparks"] .loc-pin-card {
    border-top-color: #a07bc0;
}

.loc-pin-name {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.2px;
    margin-bottom: 4px;
}

.loc-pin-dist {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}

.loc-pin-dist::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ── Frosted glass info panel — centred, floating above map bottom ── */
.loc-info-panel {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1260px;
    z-index: 20;
    background: rgba(18, 14, 10, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0;
    padding: 32px 48px 32px 48px;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.16, 1, .3, 1);
}

.loc-info-panel.panel-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

/* Close × button */
.loc-panel-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.loc-panel-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* 4-column grid */
.loc-panel-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Category column header */
.loc-panel-cat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
}

.loc-panel-cat-head svg {
    opacity: 0.7;
    flex-shrink: 0;
    color: var(--gold);
}

/* Location list */
.loc-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loc-panel-list li {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
    cursor: default;
}

.loc-panel-list li:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .loc-map-outer {
        height: 70vh;
        min-height: 400px;
    }

    .loc-pin-btn {
        width: 30px;
        height: 30px;
    }

    .loc-pin-btn svg {
        width: 11px;
        height: 11px;
    }

    .loc-info-panel {
        padding: 24px 24px 28px;
    }

    .loc-panel-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}


/* ============================================================
   LOCATION SECTION (Caribbean Island Retreats Style)
   Scroll-triggered intro card with parallax background
   ============================================================ */

/* Tall scrollable container for the sticky card effect */
.location {
    position: relative;
    height: 300vh;
    /* scrollable height for the pin */
    background: #0b1d26;
}

/* Sticky viewport container — stays fixed during scroll */
.location-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full-bleed background image container */
.location-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.location-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Background-only card — expands on scroll, contains no direct text */
.location-card {
    position: relative;
    z-index: 3;
    background: #0b1d26;
    max-width: 560px;
    width: 90%;
    padding: 0;
    overflow: hidden;
    /* Height driven by content inner div initially, then overridden by JS */
    min-height: 380px;
}

/* Text content pinned absolutely to the centre — never moves as card expands */
.location-card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    max-width: 90%;
    text-align: center;
    pointer-events: none;
}

.location-card-content .section-label {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    margin-bottom: 24px;
}

/* Location card heading */
.location-card-content h2 {
    font-family: 'Scheherazade New', serif;
    font-size: 48px;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Gold divider line inside the card */
.location-card-divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 28px;
}

/* Card description text */
.location-card-content p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Dark overlay behind the card for depth */
.location-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}


/* ============================================================
   LOCATION TIMELINE CARDS
   Vertical timeline with alternating thumbnails and diamond dividers
   ============================================================ */

.location-timeline {
    background: #0b1d26;
    padding: 80px 0 100px;
}

/* Individual timeline card — centered with fade-up animation */
.location-timeline-item {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.location-timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline card heading */
.location-timeline-item h3 {
    font-family: 'Scheherazade New', serif;
    font-size: 38px;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Timeline card description */
.location-timeline-item p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto;
}

/* Parallax thumbnail image — positioned left or right */
.location-timeline-thumb {
    position: absolute;
    width: 160px;
    height: 180px;
    overflow: hidden;
}

.location-timeline-thumb img {
    width: 130%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateX(-15%);
    transition: transform 0.01s linear;
}

/* Odd items: thumbnail on the left */
.location-timeline-item:nth-child(odd) .location-timeline-thumb {
    left: calc(-50vw + 400px + 60px);
    top: 50%;
    transform: translateY(-50%);
}

/* Even items: thumbnail on the right */
.location-timeline-item:nth-child(even) .location-timeline-thumb {
    right: calc(-50vw + 400px + 60px);
    top: 50%;
    transform: translateY(-50%);
}

/* Diamond divider between timeline cards */
.location-diamond {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* Horizontal lines extending from diamond */
.location-diamond::before,
.location-diamond::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* Central rotated diamond shape */
.location-diamond span {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin: 0 16px;
}


/* ============================================================
   GALLERY SECTION
   Masonry-style image grid with hover zoom and overlay
   ============================================================ */

/* ============================================================
   GALLERY — Premium 3-Up Carousel
   Three cards visible at once with gap, arrows on the sides,
   counter bottom-right, auto-advance with progress bar.
   ============================================================ */

/* ── Premium Masonry Gallery ── */
.gallery {
    padding: var(--section-pad) 0;
    background: var(--bg-alt);
}

/* ── Gallery 3-up Horizontal Carousel ── */
.gal-wrap {
    position: relative;
    overflow: hidden;
}

.gal-carousel {
    position: relative;
    height: 500px;
    margin: 0 auto;
    max-width: 1200px;
}

.gal-track {
    display: flex;
    gap: 24px;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.gal-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gal-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gal-slide:hover img {
    transform: scale(1.05);
}

.gal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #333;
    font-size: 22px;
    font-weight: 200;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.gal-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.gal-arrow-prev {
    left: 20px;
}

.gal-arrow-next {
    right: 20px;
}

.gal-counter {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 20px;
    border-radius: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 20;
}

.gal-csep {
    opacity: 0.6;
    margin: 0 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .gal-carousel {
        height: 350px;
    }

    .gal-track {
        gap: 16px;
    }

    .gal-slide {
        flex: 0 0 100%;
    }

    .gal-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .gal-arrow-prev {
        left: 12px;
    }

    .gal-arrow-next {
        right: 12px;
    }
}

.gallery-header {
    margin-bottom: 64px;
    text-align: center;
}

/* Masonry Grid: 3 columns desktop, responsive stacking */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Individual gallery items */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 4 / 5;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Wide spanning hero items */
.gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

/* Gallery images */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Dark overlay on hover */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            rgba(10, 10, 10, 0.4) 0%,
            rgba(10, 10, 10, 0.15) 50%,
            transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Centered + icon */
.gallery-overlay-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    color: var(--dark);
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay-icon {
    opacity: 1;
    transform: scale(1);
}

/* ── Lightbox Modal ── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px;
    transition: background 0.3s ease;
    backdrop-filter: blur(12px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

.lightbox-prev,
.lightbox-next {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    backdrop-filter: blur(12px);
    pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-counter {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── Responsive Grid ── */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .gallery-item {
        aspect-ratio: 16 / 10;
    }

    .lightbox {
        padding: 20px;
    }
}


/* ============================================================
   NEIGHBOURHOOD POI EXPLORER
   Aerial image with 3D mouse-tilt, floating POI pins,
   category toolbar, and sliding drawer — Planpoint-style
   ============================================================ */

.poi-section {
    background: #0a0a0a;
    padding: var(--section-pad) 0 0;
    position: relative;
    overflow: hidden;
}

/* ── Header ── */
.poi-header {
    text-align: center;
    padding: 0 70px 60px;
    max-width: 720px;
    margin: 0 auto;
}

.poi-header .section-label {
    color: rgba(255, 255, 255, 0.45);
}

.poi-header .section-heading {
    color: #fff;
    font-size: 48px;
    margin-top: 14px;
}

.poi-header .section-heading em {
    font-style: italic;
    color: var(--gold);
}

.poi-subtext {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 18px;
}

/* ── Three.js WebGL Canvas Container ── */
.poi-canvas-wrap {
    position: relative;
    width: 100%;
    height: clamp(340px, 55vw, 680px);
    border-radius: 0;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 204, 2, 0.12);
    cursor: grab;
    user-select: none;
}

.poi-canvas-wrap:active {
    cursor: grabbing;
}

.poi-canvas-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Drag hint shown below canvas */
.poi-hint {
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 14px;
    padding-bottom: 4px;
}

/* ── CSS2D Pin Markers (rendered by Three.CSS2DRenderer into 3D space) ── */
.poi-3d-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    pointer-events: auto;
    /* labelRenderer.domElement has pointer-events:none; re-enable per-marker */
    transform: translateY(-100%);
    /* anchor bottom of marker to the 3D position point */
}

/* Outer pulse ring on the dot */
.poi-3d-dot {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(8, 8, 8, 0.82);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

/* Animated pulse ring */
.poi-3d-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 204, 2, 0.38);
    animation: poi3dPulse 2.6s ease-out infinite;
    pointer-events: none;
}

@keyframes poi3dPulse {
    0% {
        transform: scale(0.65);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.poi-3d-marker:hover .poi-3d-dot {
    background: rgba(20, 20, 20, 0.95);
    border-color: var(--gold);
    transform: scale(1.12);
    box-shadow: 0 0 24px rgba(255, 204, 2, 0.4), 0 4px 20px rgba(0, 0, 0, 0.6);
}

.poi-3d-marker.active .poi-3d-dot {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    box-shadow: 0 0 32px rgba(255, 204, 2, 0.6), 0 4px 20px rgba(0, 0, 0, 0.55);
    transform: scale(1.08);
}

/* Label chip below the dot */
.poi-3d-label {
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 9px;
    border-radius: 0;
    backdrop-filter: blur(6px);
    transition: color 0.25s ease, background 0.25s ease;
}

.poi-3d-marker.active .poi-3d-label {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.75);
}

/* ── Category Toolbar ── */
.poi-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 0;
}

.poi-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.poi-cat-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.poi-cat-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.poi-cat-btn svg {
    flex-shrink: 0;
}

/* ── POI Drawer (slides up from bottom of stage) ── */
.poi-drawer {
    position: relative;
    background: rgba(10, 10, 10, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 60px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(.16, 1, .3, 1),
        padding 0.4s ease;
}

.poi-drawer.open {
    max-height: 220px;
    padding: 32px 60px 36px;
}

.poi-drawer-close {
    position: absolute;
    top: 20px;
    right: 60px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.poi-drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.poi-drawer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0 40px;
}

/* Drawer category column */
.poi-drawer-col h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.poi-drawer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poi-drawer-col ul li {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.poi-drawer-col ul li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    opacity: 0.6;
}

.poi-drawer-col ul li:hover {
    color: #fff;
}


/* ============================================================
   BLOGS SECTION
   Three-column blog card grid with hover effects
   ============================================================ */

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
    background: var(--bg-alt);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.testi-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
}

.testi-header .section-heading {
    margin-top: 14px;
    margin-bottom: 0;
}

.testi-sub {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    margin-top: 16px;
    max-width: 420px;
}

.testi-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    padding-bottom: 4px;
}

.testi-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(26, 26, 26, 0.18);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.testi-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #111;
}

/* Carousel */
.testi-carousel-outer {
    padding: 0 calc((100vw - 1200px) / 2);
}

.testi-track {
    display: flex;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
}

.testi-slide {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 420px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.testi-slide:hover:not(.testi-active) {
    width: 210px;
}

.testi-slide.testi-active {
    width: 500px;
}

.testi-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.testi-slide:hover .testi-bg {
    transform: scale(1.04);
}

/* dark scrim always present, stronger at bottom */
.testi-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.30) 50%,
            rgba(0, 0, 0, 0.10) 100%);
    pointer-events: none;
    z-index: 1;
}

.testi-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.testi-province-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.testi-name {
    font-family: 'Scheherazade New', serif;
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.testi-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.3px;
}

@media (max-width: 1200px) {
    .testi-carousel-outer {
        padding: 0 40px;
    }

    .testi-slide.testi-active {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .testi-arrows {
        display: none;
    }

    .testi-track {
        flex-direction: column;
    }

    .testi-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .testi-carousel-outer {
        padding: 0 20px;
    }

    .testi-slide {
        width: 100%;
        height: 320px;
    }

    .testi-slide.testi-active {
        width: 100%;
    }

    .testi-sub {
        max-width: 100%;
    }

    .testi-name {
        font-size: 18px;
        white-space: normal;
    }
}

.blogs {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

/* Header row with title and "View All" link */
.blogs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
}

/* "View All" link style */
.view-all-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: color .25s, border-color .25s;
}

.view-all-link:hover {
    color: var(--muted);
    border-color: var(--muted);
}

/* 3-column blog grid */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    cursor: pointer;
}

/* Blog card image with zoom hover */
.blog-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.blog-card:hover .blog-img img {
    transform: scale(1.04);
}

/* Blog metadata (date, category) */
.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-muted);
}

.blog-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

/* Blog card title */
.blog-title {
    font-family: 'Scheherazade New', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 12px;
    transition: color .25s;
}

.blog-card:hover .blog-title {
    color: #444;
}

/* Blog excerpt text */
.blog-excerpt {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 20px;
}

/* "Read More →" link */
.blog-read {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: gap .25s;
}

.blog-read:hover {
    gap: 10px;
}


/* ============================================================
   ENQUIRY SECTION
   Contact form on dark background with two-column layout
   ============================================================ */

.enquiry {
    background: #f9f7f3;
    overflow: hidden;
}

/* Three-column layout: image | text | form */
.enquiry-inner {
    display: grid;
    grid-template-columns: 0.55fr 0.75fr 1.3fr;
    min-height: 760px;
    align-items: stretch;
}

/* Left image column — full bleed, no padding */
.enquiry-image {
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.enquiry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

.enquiry-image:hover .enquiry-img {
    transform: scale(1.04);
}

/* Subtle light gradient over image for caption legibility */
.enquiry-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(249, 247, 243, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

/* Caption on the image */
.enquiry-img-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.enquiry-img-caption span {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(30, 30, 30, 0.75);
}

/* Middle text column */
.enquiry-text {
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

/* Enquiry text column styles */
.enquiry .section-label {
    color: rgba(30, 30, 30, .6);
}

.enquiry .section-heading {
    color: #1e1e1e;
    font-size: 44px;
    margin-top: 14px;
}

.enquiry .section-heading em {
    font-style: italic;
    color: var(--gold);
}

.enquiry-text p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(30, 30, 30, .7);
    margin-top: 20px;
}

/* Contact detail rows */
.enquiry-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.enquiry-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.enquiry-detail-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(30, 30, 30, 0.5);
}

.enquiry-detail-value {
    font-size: 14px;
    font-weight: 400;
    color: rgba(30, 30, 30, 0.9);
    letter-spacing: 0.3px;
}

/* Form column — padded like the text column */
.enquiry-form {
    padding: 80px 60px;
}

/* Form grid — 2 columns with full-width message field */
.enquiry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Full-width form group (spans both columns) */
.form-group.full {
    grid-column: span 2;
}

/* Form labels */
.form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(30, 30, 30, .5);
}

/* Form inputs, selects, and textareas — transparent with bottom border */
.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(30, 30, 30, .15);
    padding: 12px 0;
    color: #1e1e1e;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color .3s;
    width: 100%;
}

.form-group select option {
    background: #f9f7f3;
    color: #1e1e1e;
}

/* Focus state — brighter bottom border */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: rgba(30, 30, 30, .4);
}

.form-group textarea {
    resize: none;
    height: 90px;
}

/* Placeholder text color */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(30, 30, 30, .3);
}

/* Submit button container */
.enquiry-submit {
    grid-column: span 2;
    margin-top: 10px;
}

/* Gold CTA button used for form submission */
.btn-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: none;
    cursor: pointer;
    transition: background .25s, transform .2s;
}

.btn-cta:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}


/* ============================================================
   FOOTER
   Dark footer with 4-column grid and bottom bar
   ============================================================ */

.footer {
    background: #0a0a0a;
    padding: 80px 0 0;
}

/* Footer grid: logo column (wider) + 3 link columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* Footer logo — white inverted version */
.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .85;
    margin-bottom: 0;
}

.footer-logo-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 28px;
    font-weight: 200;
    line-height: 1;
    user-select: none;
}

.footer-skanda {
    height: 42px !important;
    opacity: .7 !important;
}

/* Footer partner logos */
.footer-partners {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}

.footer-partners img {
    height: 44px;
    width: auto;
    opacity: .75;
}

.footer-partner-neobuild {
    filter: brightness(0) invert(1);
}

/* Footer description text */
.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .35);
    max-width: 280px;
}

/* Footer column headings */
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 24px;
}

/* Footer link lists */
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, .35);
    text-decoration: none;
    transition: color .25s;
}

.footer-col ul li a:hover {
    color: rgba(255, 255, 255, .8);
}

/* Footer bottom bar with copyright and legal links */
.footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, .2);
    letter-spacing: .5px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .2);
    text-decoration: none;
    transition: color .25s;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, .5);
}

/* ─── ENQUIRE FIXED SIDE (removed) ─── */


/* ============================================================
   HAMBURGER MENU — Premium Mobile Navigation
   ============================================================ */

/* ── Hamburger button — hidden on desktop, shown on mobile ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
    position: relative;
    transition: opacity 0.3s ease;
}

/* When overlay is open, hide the entire nav so the close (X) button is clickable */
#mainNav:has(.nav-hamburger.is-open) {
    display: none;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2px;
    transition: width 0.3s ease, transform 0.4s cubic-bezier(.16, 1, .3, 1), opacity 0.3s ease, background 0.3s ease;
}

.nav-hamburger span:nth-child(1) {
    width: 32px;
}

.nav-hamburger span:nth-child(2) {
    width: 24px;
}

.nav-hamburger span:nth-child(3) {
    width: 28px;
}

/* Animate to X when open */
.nav-hamburger.is-open span:nth-child(1) {
    width: 28px;
    transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
    width: 28px;
    transform: translateY(-8px) rotate(-45deg);
}

/* Dark bars when nav is scrolled */
.nav.scrolled .nav-hamburger span {
    background: #111;
}

/* ── Premium Full-screen overlay ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1), visibility 0.5s cubic-bezier(.16, 1, .3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle at top right, rgba(255, 204, 2, 0.03), transparent 70%);
    pointer-events: none;
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ── Premium overlay top bar ── */
.nav-overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
    flex-shrink: 0;
    background: #080808;
}

/* Logo pair wrapper */
.nav-overlay-logos {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Vertical divider between the two logos */
.nav-overlay-logo-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 20px;
    flex-shrink: 0;
}

/* Skanda logo */
.nav-overlay-logo-skanda img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

.nav-overlay-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-overlay-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    line-height: 0;
    padding: 0px;
    color: #FFF !important;    
}

.nav-overlay-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ── Premium overlay nav links ── */
.nav-overlay-links {
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 30px;
    height: 100%;
    overflow-y: scroll;
}

.nav-overlay-links>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1), transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

.nav-overlay.is-open .nav-overlay-links>li {
    opacity: 1;
    transform: translateX(0);
}

.nav-overlay.is-open .nav-overlay-links>li:nth-child(1) {
    transition-delay: 0.08s;
}

.nav-overlay.is-open .nav-overlay-links>li:nth-child(2) {
    transition-delay: 0.14s;
}

.nav-overlay.is-open .nav-overlay-links>li:nth-child(3) {
    transition-delay: 0.20s;
}

.nav-overlay.is-open .nav-overlay-links>li:nth-child(4) {
    transition-delay: 0.26s;
}

.nav-overlay.is-open .nav-overlay-links>li:nth-child(5) {
    transition-delay: 0.32s;
}

.nav-overlay.is-open .nav-overlay-links>li:nth-child(6) {
    transition-delay: 0.38s;
}

.nav-overlay-links>li>a,
.nav-overlay-links>li>button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-family: 'Scheherazade New', serif;
    font-size: 35px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease, padding-left 0.3s ease;
    letter-spacing: -0.5px;
}

.nav-overlay-links>li>a:hover,
.nav-overlay-links>li>button:hover {
    color: var(--gold);
    /* padding-left: 12px; */
}

.nav-overlay-chevron {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(.16, 1, .3, 1);
    opacity: 0.6;
}

.nav-overlay-links>li.submenu-open>button .nav-overlay-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Premium dropdown submenus ── */
.nav-overlay-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(.16, 1, .3, 1);
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.02);
}

.nav-overlay-links>li.submenu-open .nav-overlay-submenu {
    max-height: 400px;
}

.nav-overlay-submenu li a {
    display: block;
    padding: 14px 0 14px 24px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    margin-left: 12px;
}

.nav-overlay-submenu li a:hover {
    color: var(--gold);
    border-left-color: var(--gold);
    padding-left: 32px;
}

.nav-overlay-submenu li:last-child a {
    padding-bottom: 20px;
}

/* ── Premium overlay footer ── */
.nav-overlay-footer {
    margin-top: auto;
    padding: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.nav-overlay.is-open .nav-overlay-footer {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay-address {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.nav-overlay-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gold);
    color: #111;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 18px 32px;
    text-decoration: none;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 0;
}

.nav-overlay-cta:hover {
    background: var(--gold-hover);
    gap: 16px;
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
   Tablet and mobile layout adjustments
   ============================================================ */

/* ─── Tablet (≤ 1024px) ─── */
@media (max-width:1024px) {
    .container {
        padding: 0 40px;
    }

    /* Stats: 2-column grid on tablet */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .stat-item:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, .08);
    }
}

/* ─── Mobile (≤ 768px) ─── */
@media (max-width:768px) {
    :root {
        --section-pad: 70px;
    }

    .container {
        padding: 0 24px;
    }

    /* Stack all two-column grids to single column */
    .about-inner,
    .highlight-inner,
    .location-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Enquiry: hide image column, stack text + form */
    .enquiry-inner {
        grid-template-columns: 1fr;
    }

    .enquiry-image {
        display: none;
    }

    .enquiry-text {
        padding: 60px 24px 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .enquiry-form {
        padding: 30px 24px 60px;
    }

    .section-heading {
        font-size: 36px;
    }

    /* Gallery carousel: single card on mobile */
    .gal-carousel {
        padding: 0 24px;
    }

    .gal-slide {
        flex: 0 0 100%;
        height: 48vh;
        min-height: 280px;
    }

    .gal-track {
        gap: 12px;
    }

    .gal-arrow {
        width: 40px;
        height: 40px;
    }

    .gal-arrow-prev {
        left: 4px;
    }

    .gal-arrow-next {
        right: 4px;
    }

    .gal-counter {
        right: 24px;
    }

    /* Blogs: single column on mobile */
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    /* Footer: 2-column on mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .enquire-btn {
        display: none;
    }

    /* Nav: 3-col grid — [logos pair] [spacer] [hamburger] */
    .nav {
        grid-template-columns: auto 1fr auto;
        /* padding: 20px 24px; */
        align-items: center;
    }
/* 
    .nav.scrolled {
        padding: 20px 24px;
    } */

    /* 
    .nav-links {
        display: none;
    } */
    .nav-overlay-links>li>a,
    .nav-overlay-links>li>button {
        font-size: 20px;
        padding: 10px;
    }

    .nav-cta {
        display: none;
    }

    /* Show Skanda logo on mobile, beside TRL logo */
    .nav-logo-right {
        display: flex;
        align-items: center;
        justify-self: start;
        grid-column: auto;
    }

    /* Vertical divider between the two logos */
    .nav-logo-right::before {
        content: '';
        display: block;
        width: 1px;
        height: 26px;
        background: rgba(255, 255, 255, 0.35);
        margin-left: 20px;
        margin-right: 20px;
        flex-shrink: 0;
        transition: background 0.4s;
    }

    .nav.scrolled .nav-logo-right::before {
        background: rgba(0, 0, 0, 0.18);
    }

    /* Smaller logos on mobile */
    .logo img {
        height: 38px !important;
    }

    .nav-logo-right img {
        height: 42px;
    }

    .nav.scrolled .nav-logo-right img {
        height: 42px;
    }

    /* .nav-hamburger {
        display: flex;
        grid-column: 3;
        justify-self: end;
    } */

    /* Province text: smaller on mobile */
    .prov-name {
        font-size: 40px;
    }

    .prov-content {
        padding: 0 24px 50px;
    }

    .prov-top-label {
        left: 24px;
    }
}

@media (max-width:1200px) {
    .nav-hamburger {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }

    .nav-links {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   BOOK A SITE VISIT — Modal popup
   ═══════════════════════════════════════════════════════════ */

/* Overlay */
.bsv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.bsv-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Modal box */
.bsv-box {
    background: #fff;
    width: 100%;
    max-width: 660px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 56px 60px 52px;
    position: relative;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: none;
}

.bsv-box::-webkit-scrollbar {
    display: none;
}

.bsv-overlay.is-open .bsv-box {
    transform: translateY(0) scale(1);
}

/* Close button */
.bsv-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.2s;
    padding: 0;
}

.bsv-close:hover {
    color: var(--text);
}

.bsv-close svg {
    width: 18px;
    height: 18px;
}

/* Header */
.bsv-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 14px;
}

.bsv-heading {
    font-family: 'Scheherazade New', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.15;
    margin: 0 0 44px;
}

.bsv-heading em {
    font-style: italic;
    color: var(--muted);
}

/* Form grid */
.bsv-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bsv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
}

.bsv-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bsv-field.full-width {
    grid-column: 1 / -1;
}

.bsv-field label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
}

.bsv-field input,
.bsv-field select {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.18);
    padding: 10px 0;
    outline: none;
    width: 100%;
    transition: border-color 0.25s;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.bsv-field input::placeholder,
.bsv-field select:invalid {
    color: rgba(26, 26, 26, 0.3);
}

.bsv-field input:focus,
.bsv-field select:focus {
    border-color: var(--gold);
}

/* Select arrow */
.bsv-select-wrap {
    position: relative;
}

.bsv-select-wrap::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    pointer-events: none;
}

.bsv-select-wrap select {
    padding-right: 20px;
    cursor: pointer;
}

/* Date input */
.bsv-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.35;
    cursor: pointer;
}

/* Divider */
.bsv-divider {
    height: 1px;
    background: rgba(26, 26, 26, 0.08);
    margin: 4px 0;
}

/* Submit */
.bsv-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 8px;
}

.bsv-note {
    font-size: 11px;
    color: var(--light-muted);
    line-height: 1.6;
    max-width: 240px;
}

.bsv-submit {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--gold);
    border: none;
    padding: 17px 40px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s, gap 0.25s;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.bsv-submit:hover {
    background: var(--gold-hover);
    gap: 16px;
}

.bsv-submit svg {
    width: 13px;
    height: 13px;
}

/* Responsive */
@media (max-width: 640px) {
    .bsv-box {
        padding: 44px 28px 40px;
    }

    .bsv-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


/* ============================================================
   FLOATING CTA BUTTON
   Sticky "Book A Site Visit" button at bottom of screen
   ============================================================ */

.floating-cta {
    position: fixed;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(17, 17, 17, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 204, 2, 0.18);
    border-radius: 100px;
    padding: 10px 10px 10px 32px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow:
        0 0 50px rgba(255, 204, 2, 0.15),
        0 0 100px rgba(255, 204, 2, 0.07),
        0 12px 40px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.4s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.floating-cta:hover {
    transform: translateX(-50%) translateY(-3px);
    border-color: rgba(255, 204, 2, 0.4);
    box-shadow:
        0 0 70px rgba(255, 204, 2, 0.25),
        0 0 120px rgba(255, 204, 2, 0.1),
        0 16px 50px rgba(0, 0, 0, 0.4);
}

.floating-cta-text {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.floating-cta-icon {
    width: 42px;
    height: 42px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.floating-cta:hover .floating-cta-icon {
    background: var(--gold-hover);
    transform: scale(1.08);
}

.floating-cta-icon svg {
    color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 24px;
        min-width: 300px;
        padding: 7px 7px 7px 28px;
    }

    .floating-cta-text {
        font-size: 12px;
    }

    .floating-cta-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 16px;
        min-width: 260px;
        gap: 32px;
    }
}


/* ═══════════════════════════════════════════════════════════
   HOMEPAGE MOBILE — Section-by-section fixes (≤ 768px)
   Supplements the earlier responsive block above
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── HERO: shift content to mobile padding + move text higher ── */
    .hero-content {
        left: 24px;
        right: 24px;
        top: 35%;
    }

    /* ── ABOUT: cap illustration height so it doesn't tower ── */
    .about-illustration {
        aspect-ratio: 16/10;
        max-height: 260px;
    }

    .about-illustration img {
        object-fit: cover;
    }

    .about-right-content h2 {
        font-size: 32px;
    }

    /* ── TOWNSHIP STORY: stack the 57/43 split ── */
    .ts-split {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 40px;
    }

    .township-story-heading {
        font-size: 28px;
    }

    .ts-body {
        font-size: 15px;
        line-height: 1.8;
    }

    /* ── PROVINCES INTRO: reduce vertical padding ── */
    .provinces-intro {
        padding: 48px 0 16px;
    }

    /* ── ORBIT VIEWER: spacing + disc + province card redesign ── */

    /* Kill the big gap between "Our Provinces" heading and disc */
    .provinces-intro {
        padding: 32px 0 8px;
    }

    /* Tighten the orbit section top padding */
    .orbit-viewer-section {
        padding: 0 0 32px;
    }

    /* Shrink the gap between disc and "DRAG TO EXPLORE" hint */
    .orbit-provinces-layout .orbit-viewer,
    .orbit-viewer {
        gap: 4px;
    }

    /* Single unified 2-col grid: disc spans full width, all 5 cards in numerical order */
    .orbit-provinces-layout {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        width: min(340px, 92vw);
        margin: 0 auto;
        gap: 6px;
        padding: 0 16px 8px;
        align-items: start;
    }

    /* Disc spans both columns, centred */
    .orbit-viewer {
        grid-column: 1 / -1;
        order: unset;
        gap: 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    /* Column wrappers become transparent — items join parent grid directly */
    .orbit-prov-col {
        display: contents !important;
    }

    .orbit-prov-left,
    .orbit-prov-right {
        display: contents;
        order: unset;
    }

    /* Numerical order: 01 Sports, 02 Forest, 03 Lake, 04 Lagoon, 05 Solitaire */
    .orbit-prov-right .orbit-prov-item:nth-child(1) {
        order: 1;
    }

    /* Sports  01 */
    .orbit-prov-left .orbit-prov-item:nth-child(1) {
        order: 2;
    }

    /* Forest  02 */
    .orbit-prov-left .orbit-prov-item:nth-child(2) {
        order: 3;
    }

    /* Lake    03 */
    .orbit-prov-right .orbit-prov-item:nth-child(2) {
        order: 4;
    }

    /* Lagoon  04 */
    .orbit-prov-right .orbit-prov-item:nth-child(3) {
        /* Solitaire 05 */
        order: 5;
        grid-column: 1 / -1;
        justify-self: center;
        width: 50%;
    }

    /* Slightly larger disc, centred */
    .orbit-provinces-layout .orbit-canvas {
        aspect-ratio: 1 / 1;
        width: 100%;
        margin: 0 auto 4px;
        display: block;
    }

    /* Full disc — no cropping */
    .orbit-provinces-layout .orbit-image {
        object-fit: contain;
    }

    /* "DRAG TO EXPLORE" hint — tighten */
    .orbit-hint {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    /* Province items: fill their grid cell */
    .orbit-prov-item {
        width: 100% !important;
        flex-direction: unset !important;
        align-items: unset !important;
    }

    /* The tappable card */
    .orbit-prov-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 10px;
        border: 1px solid rgba(0, 0, 0, 0.09);
        background: #fff;
        min-height: 62px;
        transition: border-color 0.2s ease, background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .orbit-prov-link:active {
        border-color: var(--gold);
        background: rgba(255, 204, 2, 0.06);
    }

    /* Centre the text content inside each card */
    .orbit-prov-link .orbit-prov-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .orbit-prov-num {
        font-size: 9px;
        letter-spacing: 2.5px;
        margin-bottom: 4px;
        display: block;
    }

    .orbit-prov-name {
        font-size: 16px;
        margin-bottom: 0;
        display: block;
    }

    /* ── STATS: tighter on mobile ── */
    .stats {
        padding: 56px 0;
    }

    .stat-number {
        font-size: 44px;
    }

    .stat-suffix {
        font-size: 24px;
    }

    .stat-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .stat-item {
        padding: 32px 16px;
    }

    /* ── HIGHLIGHT: show video first on mobile, then text ── */
    .highlight-inner {
        gap: 36px;
    }

    .highlight-content {
        order: 2;
    }

    .highlight-visual {
        order: 1;
    }

    .highlight-content .section-heading {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .highlight-content p {
        font-size: 15px;
    }

    /* ── BLOGS HEADER: stack label + view-all link ── */
    .blogs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 36px;
    }

    /* ── GALLERY header ── */
    .gallery-header {
        margin-bottom: 40px;
    }

    /* ── ENQUIRY heading ── */
    .enquiry-text h2.enquiry-left,
    .enquiry-text .section-heading {
        font-size: 30px;
    }

    /* Enquiry form: collapse to single column on mobile */
    .enquiry-form {
        grid-template-columns: 1fr;
    }

    .form-group.full,
    .enquiry-submit {
        grid-column: span 1;
    }

    /* ── FOOTER: compact single column on mobile ── */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
        padding-bottom: 32px;
    }

    .footer-logo img {
        height: 40px;
        margin-bottom: 10px;
    }

    .footer-desc {
        line-height: 1.6;
    }

    .footer-col h4 {
        margin-bottom: 12px;
    }

    .footer-col ul {
        gap: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 0 100px;
    }
}

/* ── Extra-small phones (≤ 480px) — fine-tune sizes ── */
@media (max-width: 480px) {

    /* Hero heading is already clamp()-based, but floor it further */
    .hero-heading {
        font-size: clamp(36px, 9vw, 52px);
    }

    .hero-content {
        left: 20px;
        right: 20px;
    }

    .township-story-heading {
        font-size: 24px;
    }

    .about-right-content h2 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-item {
        padding: 28px 10px;
    }

    /* Enquiry form: single-column on very small screens */
    .enquiry-form .form-group {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMISATIONS — Today's changes (May 4 2026)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* ── Preloader: keep logos centred, scale down ── */
    .pre-skanda {
        width: 160px;
    }

    .pre-logo {
        width: 180px;
    }

    /* ── Footer logos: wrap to column if tight ── */
    .footer-logo {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-skanda {
        height: 24px !important;
    }

    .footer-logo-divider {
        font-size: 22px;
    }

    /* ── Footer partner logos: stack vertically on mobile ── */
    .footer-partners {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-partners img {
        height: 36px;
    }

    /* ── Province cards (Other Provinces): label colour already white, no change needed ── */

    /* ── Orbit: right-column link order already handled by mobile orbit rewrite ── */
}

@media (max-width: 480px) {

    .pre-skanda {
        width: 130px;
    }

    .pre-logo {
        width: 150px;
    }

    .footer-logo img {
        height: 34px;
    }

    .footer-skanda {
        height: 20px !important;
    }

    .footer-partners img {
        height: 30px;
    }

    .footer-logo-divider {
        font-size: 18px;
    }
}


/* ═══════════════════════════════════════════════
   LOCATION MAP EXPLORER
═══════════════════════════════════════════════ */
@keyframes locRouteDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.loc-map-section {
    background: var(--bg-alt);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.loc-map-section .container {
    padding-bottom: 0;
}

.loc-map-header {
    padding-bottom: 48px;
}

.loc-map-sub {
    margin-top: 16px;
    color: var(--muted);
    max-width: 560px;
    font-size: 15px;
    line-height: 1.65;
}

/* Shell: sidebar + map */
.loc-shell-wrap {
    padding: 0 70px 0;
}

.loc-shell {
    display: grid;
    grid-template-columns: 340px 1fr;
    height: 640px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
}

/* ── Sidebar ── */
.loc-sidebar {
    background: #fff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.loc-search {
    position: relative;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.loc-search input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 1.5px solid #e8e4dc;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.loc-search input:focus {
    border-color: var(--gold);
}

.loc-search-icon {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    pointer-events: none;
    margin-top: 2px;
}

/* chips */
.loc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 20px;
    border: 1.5px solid #ddd;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    transition: all 0.18s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.loc-chip.active {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--text);
}

.loc-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* cat scroll */
.loc-cat-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
}

.loc-cat-scroll::-webkit-scrollbar {
    width: 3px;
}

.loc-cat-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.loc-cat-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.loc-cat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.loc-cat-head:hover {
    background: #fafafa;
}

.loc-cat-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.loc-cat-label {
    flex: 1;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.loc-cat-count {
    font-size: 10.5px;
    color: #bbb;
    font-family: 'Inter', sans-serif;
}

.loc-cat-chev {
    color: #ccc;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.loc-cat-chev.open {
    transform: rotate(180deg);
}

.loc-cat-list {
    padding: 1px 0 4px;
}

.loc-poi-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 44px;
    cursor: pointer;
    transition: background 0.15s;
}

.loc-poi-row:hover,
.loc-poi-row.hover {
    background: #f9f7f4;
}

.loc-poi-row.active {
    background: #fffce8;
}

.loc-poi-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.loc-poi-name {
    flex: 1;
    font-size: 12px;
    color: #444;
    font-family: 'Inter', sans-serif;
}

.loc-poi-row.active .loc-poi-name {
    font-weight: 600;
    color: var(--text);
}

.loc-poi-dist {
    font-size: 11px;
    color: #bbb;
    font-family: 'Inter', sans-serif;
}

.loc-poi-row.active .loc-poi-dist {
    color: #777;
}

/* ── Map Pane ── */
.loc-map-pane {
    position: relative;
    overflow: hidden;
}

.loc-map-bg {
    position: absolute;
    inset: 0;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: filter 0.45s ease;
}

.loc-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* controls */
.loc-controls {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
    overflow: hidden;
}

.loc-ctrl-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    transition: background 0.15s;
}

.loc-ctrl-btn:hover {
    background: #f5f5f5;
}

.loc-ctrl-div {
    height: 1px;
    background: #eee;
}

/* theme */
.loc-theme-tog {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(4px);
}

.loc-theme-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}

.loc-theme-btn:hover {
    transform: scale(1.1);
}

.loc-theme-btn.active {
    border-color: var(--gold);
}

/* legend */
.loc-legend {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 9px;
    padding: 9px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.11);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 9px;
}

.loc-legend-pin {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b6cb3;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(59, 108, 179, 0.18);
}

.loc-legend-name {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
}

.loc-legend-sub {
    font-size: 10px;
    color: #999;
    font-family: 'Inter', sans-serif;
    margin-top: 1px;
}

/* hover card */
.loc-hover-card {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 10px;
    padding: 11px 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
    border-left: 3px solid #999;
    min-width: 170px;
    max-width: 220px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.loc-hc-cat {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    margin-bottom: 3px;
}

.loc-hc-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    margin-bottom: 5px;
}

.loc-hc-meta {
    font-size: 11.5px;
    color: #888;
    font-family: 'Inter', sans-serif;
}

.loc-hc-meta .dot {
    margin: 0 4px;
    color: #ccc;
}

/* directions card */
.loc-dir-card {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.16);
    width: 260px;
    backdrop-filter: blur(4px);
    font-family: 'Inter', sans-serif;
}

.loc-dir-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 11px;
}

.loc-dir-route {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loc-dir-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    color: #555;
}

.loc-dir-pin {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b6cb3;
    flex-shrink: 0;
}

.loc-dir-line {
    width: 1px;
    height: 12px;
    background: #e0ddd8;
    margin-left: 3.5px;
}

.loc-dir-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    padding: 2px;
    border-radius: 4px;
    transition: color 0.15s;
    display: flex;
}

.loc-dir-close:hover {
    color: #555;
}

.loc-dir-modes {
    display: flex;
    gap: 4px;
    margin-bottom: 11px;
}

.loc-mode-btn {
    flex: 1;
    padding: 5px 3px;
    border: 1.5px solid #e8e4dc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: #777;
    transition: all 0.18s;
    font-family: 'Inter', sans-serif;
}

.loc-mode-btn.active {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--text);
}

.loc-dir-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #f0ece5;
    border-bottom: 1px solid #f0ece5;
    margin-bottom: 9px;
}

.loc-dir-time .big {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
}

.loc-dir-time .unit {
    font-size: 11px;
    color: #aaa;
    margin-left: 1px;
}

.loc-dir-meta {
    flex: 1;
}

.loc-dir-dist {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}

.loc-dir-via {
    font-size: 10px;
    color: #bbb;
    margin-top: 1px;
}

.loc-dir-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loc-dir-step {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #666;
    padding: 3px 0;
    border-bottom: 1px solid #f5f2ec;
}

.loc-dir-step:last-child {
    border-bottom: none;
}

.step-time {
    color: #bbb;
    flex-shrink: 0;
    width: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .loc-shell-wrap {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .loc-shell-wrap {
        padding: 0 16px;
    }

    .loc-shell {
        grid-template-columns: 1fr;
        grid-template-rows: 320px 400px;
        height: auto;
        border-radius: 12px;
    }

    .loc-sidebar {
        order: 2;
    }

    .loc-map-pane {
        order: 1;
    }
}



/* ── Location Map: Monochrome overrides ── */

/* Chips — grey default, yellow active only */
.loc-chip {
    border-color: #ddd !important;
    color: #888 !important;
    background: #fff !important;
}

.loc-chip.active {
    border-color: var(--gold) !important;
    background: var(--gold) !important;
    color: var(--text) !important;
}

.loc-chip-dot {
    display: none !important;
}

/* remove coloured dots from chips */

/* Category section icons — uniform grey */
.loc-cat-icon {
    background: #888 !important;
}

.loc-cat-label {
    color: #444 !important;
}

.loc-cat-count {
    color: #bbb !important;
}

/* POI row active state — yellow left bar */
.loc-poi-row.active {
    background: #fffce8 !important;
    box-shadow: inset 2px 0 0 var(--gold) !important;
}

.loc-poi-row.active .loc-poi-name {
    color: var(--text) !important;
}

.loc-poi-row.active .loc-poi-dist {
    color: #888 !important;
}

/* Property legend pin — yellow */
.loc-legend-pin {
    background: var(--gold) !important;
}

/* Hover card border — gold */
.loc-hover-card {
    border-left-color: var(--gold) !important;
}

/* Direction card pin — gold */
.loc-dir-pin {
    background: var(--gold) !important;
}

.loc-mode-btn.active {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--text) !important;
}


/* ═══════════════════════════════════════════════
   LOCATION MAP — DARK MODE + GLASSMORPHISM
═══════════════════════════════════════════════ */

/* ── Section background ── */
.loc-map-section {
    background: #0d0d0d url('../assets/images/home/locationbg1.jpg') center center / cover no-repeat !important;
    position: relative;
}

.loc-map-section .section-label {
    color: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.25);
}

.loc-map-section .section-heading {
    color: #ffffff !important;
}

.loc-map-section .section-heading em {
    color: #FFCC02 !important;
    font-style: italic;
}

.loc-map-sub {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ── Shell border ── */
.loc-shell {
    border-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.55) !important;
}

/* ── Sidebar: glassmorphism panel ── */
.loc-sidebar {
    background: rgba(14, 14, 14, 0.7) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* Search */
.loc-search {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.loc-search input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e0e0e0 !important;
    backdrop-filter: blur(4px);
}

.loc-search input::placeholder {
    color: #444 !important;
}

.loc-search input:focus {
    border-color: #FFCC02 !important;
}

.loc-search-icon {
    color: #444 !important;
}

/* Filter chips */
.loc-chips {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.loc-chip {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #666 !important;
}

.loc-chip:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    color: #aaa !important;
}

.loc-chip.active {
    background: #FFCC02 !important;
    border-color: #FFCC02 !important;
    color: #0d0d0d !important;
}

/* Category sections */
.loc-cat-head:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

.loc-cat-icon {
    background: rgba(255, 255, 255, 0.1) !important;
}

.loc-cat-label {
    color: #aaa !important;
    font-weight: 500 !important;
}

.loc-cat-count {
    color: #444 !important;
}

.loc-cat-chev {
    color: #444 !important;
}

.loc-cat-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* POI rows */
.loc-poi-row:hover,
.loc-poi-row.hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

.loc-poi-row.active {
    background: rgba(255, 204, 2, 0.06) !important;
    box-shadow: inset 2px 0 0 #FFCC02 !important;
}

.loc-poi-name {
    color: #777 !important;
}

.loc-poi-row.active .loc-poi-name {
    color: #f0f0f0 !important;
    font-weight: 600 !important;
}

.loc-poi-dist {
    color: #3a3a3a !important;
}

.loc-poi-row.active .loc-poi-dist {
    color: #FFCC02 !important;
}

/* ── Map controls: glass ── */
.loc-controls {
    background: rgba(12, 12, 12, 0.65) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.loc-ctrl-btn {
    color: #777 !important;
}

.loc-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #e0e0e0 !important;
}

.loc-ctrl-div {
    background: rgba(255, 255, 255, 0.07) !important;
}

/* ── Theme toggle: glass ── */
.loc-theme-tog {
    background: rgba(12, 12, 12, 0.65) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

/* ── Property legend: glass ── */
.loc-legend {
    background: rgba(12, 12, 12, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.loc-legend-pin {
    background: #FFCC02 !important;
    box-shadow: 0 0 0 3px rgba(255, 204, 2, 0.15) !important;
}

.loc-legend-name {
    color: #e0e0e0 !important;
}

.loc-legend-sub {
    color: #555 !important;
}

/* ── Hover card: glass ── */
.loc-hover-card {
    background: rgba(12, 12, 12, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-left: 3px solid #FFCC02 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

.loc-hc-cat {
    color: #555 !important;
}

.loc-hc-name {
    color: #e0e0e0 !important;
}

.loc-hc-meta {
    color: #555 !important;
}

.loc-hc-meta .dot {
    color: #333 !important;
}

/* ── Directions card: glass ── */
.loc-dir-card {
    background: rgba(10, 10, 10, 0.80) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55) !important;
}

.loc-dir-row {
    color: #888 !important;
}

.loc-dir-line {
    background: rgba(255, 255, 255, 0.08) !important;
}

.loc-dir-pin {
    background: #FFCC02 !important;
}

.loc-dir-close {
    color: #444 !important;
}

.loc-dir-close:hover {
    color: #bbb !important;
}

.loc-mode-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #666 !important;
}

.loc-mode-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #aaa !important;
}

.loc-mode-btn.active {
    background: #FFCC02 !important;
    border-color: #FFCC02 !important;
    color: #0d0d0d !important;
}

.loc-dir-summary {
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.loc-dir-time .big {
    color: #e0e0e0 !important;
}

.loc-dir-time .unit {
    color: #444 !important;
}

.loc-dir-dist {
    color: #e0e0e0 !important;
}

.loc-dir-via {
    color: #444 !important;
}

.loc-dir-step {
    color: #555 !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.step-time {
    color: #3a3a3a !important;
}

/* Hide theme toggle — dark only */
.loc-theme-tog {
    display: none !important;
}


/* ============================================================
   LIFESTYLE FOLD SECTION
   ============================================================ */

/* ═══ LIFESTYLE — SCROLL-SCRUBBED FALLING CARD DECK ══════════════════════ */

.ls-section {
    position: relative;
    background: #f5f0e8;
    width: 100%;
    height: 100vh;
    overflow: visible;
}

.ls-transition-spacer {
    height: 300px;
    background: #f5f0e8;
    margin-top: 0px;
    /* seamless join with section above */
}

/* ── Header block — label + heading, always above the card animation ──
   z-index: 1000 + isolation: isolate guarantees the heading is never
   occluded by a card regardless of GSAP inline z-index changes.        */
.ls-header {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1000;
    isolation: isolate;
    pointer-events: none;
    width: max-content;
    max-width: 90vw;
}

.ls-header .section-label {
    display: block;
    text-align: center;
}

/* Lifestyle section heading */
.ls-heading {
    margin-top: 14px;
    font-size: clamp(28px, 3.2vw, 46px);
    white-space: nowrap;
    color: var(--text);
}

.ls-heading em {
    font-style: italic;
    color: var(--text);
}

/* ── Perspective scene
   perspective-origin 50% 62% — viewer slightly below centre.
   NOTE: NO transform-style:preserve-3d here.  The scene is a flat 2-D
   stacking context so CSS z-index properly controls card order.  Each
   card's own preserve-3d handles the front/back face independently.    */
.ls-scene {
    position: absolute;
    inset: 0;
    perspective: 1100px;
    perspective-origin: 50% 62%;
    z-index: 1;
    /* sits below .ls-header (z-index:1000) at all times */
}

/* ── Individual card — outer wrapper for 3D flip
   preserve-3d lets the front and back face elements live on opposite
   sides of the card in 3D space. The hinge is the bottom centre edge.  ── */
.ls-deck-card {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 50% 100%;
    /* hinge = bottom centre */
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
    border-radius: 14px;
    box-shadow: 0 10px 44px rgba(0, 0, 0, 0.22);
}

/* ── Front / Back face shared ── */
.ls-card-face {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.09);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ── Front face: gallery image ── */
.ls-card-front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ── Back face: inverted version of the same image
   rotateX(180deg) makes this face point the opposite direction and
   also naturally flips the image upside-down.  The filter stacks
   colour-inversion + brightness reduction so it reads as a clearly
   distinct "negative" of the front — not plain, not confusing.    ── */
.ls-card-back {
    transform: rotateX(180deg);
}

.ls-card-back img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    filter: brightness(0.72) saturate(0.85);
}

/* ── Lifestyle scene — mobile (≤ 768px) ── */
@media (max-width: 768px) {
    .ls-header {
        top: 32px;
        width: auto;
        max-width: calc(100vw - 32px);
        padding: 0 16px;
    }

    .ls-heading {
        white-space: normal;
        font-size: clamp(22px, 6vw, 32px);
        line-height: 1.15;
        margin-top: 10px;
    }

    .ls-transition-spacer {
        height: 200px;
    }
}

@media (max-width: 599px) {
    .ls-deck-card {
        border-radius: 8px;
    }

    .ls-card-face {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .ls-header {
        top: 24px;
    }

    .ls-heading {
        font-size: clamp(20px, 6.5vw, 28px);
    }
}

/* v1778133700 */