/* ========================================
   RACE PROPERTIES — MAIN STYLESHEET
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-dark: #1A1A1A;
    --color-darker: #111111;
    --color-charcoal: #2D2D2D;
    /* Primary accent — Gold */
    --color-accent: #C9A96E;         /* Champagne Gold */
    --color-accent-dark: #A88B55;    /* Darker Gold for hover */
    --color-navy: #1E2460;           /* Navy Blue */
    --color-navy-light: #2B3488;     /* Lighter Navy */
    /* Gold shades */
    --color-gold: #C9A96E;
    --color-gold-light: #D4B87A;
    --color-gold-dark: #A88B55;
    --color-white: #FAFAFA;
    --color-cream: #F5F0EB;
    --color-text-light: #E0E0E0;
    --color-text-muted: #888888;
    --color-text-dark: #333333;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Montserrat', sans-serif;

    --section-padding: clamp(80px, 12vh, 160px);
    --container-width: min(90%, 1400px);
    --container-narrow: min(85%, 900px);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.3s var(--ease-out);
    --transition-medium: 0.6s var(--ease-out);
    --transition-slow: 1s var(--ease-out);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

/* --- Layout --- */
.container {
    width: var(--container-width);
    margin: 0 auto;
}

.container-narrow {
    width: var(--container-narrow);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.section-darker {
    background-color: var(--color-charcoal);
    color: var(--color-text-light);
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s, width 0.3s, height 0.3s, background 0.3s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s, width 0.4s, height 0.4s, border-color 0.3s;
}

.cursor-dot.active,
.cursor-ring.active {
    opacity: 1;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: var(--color-accent-dark);
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(201, 169, 110, 0.7);
}

/* ========================================
   PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F5F0EB;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 200px;
    opacity: 0;
    transform: translateY(20px);
}

.preloader-line {
    width: 200px;
    height: 1px;
    background: rgba(30, 36, 96, 0.15);
    margin: 30px auto 0;
    position: relative;
    overflow: hidden;
}

.preloader-line-inner {
    width: 0%;
    height: 100%;
    background: var(--color-accent);
}

/* ========================================
   NAVIGATION
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.5s var(--ease-out);
}

#navbar.scrolled {
    padding: 12px 0;
    background: #F5F0EB;
    border-bottom: 1px solid rgba(201,169,110,0.3);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.nav-container {
    width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Prevent overflow on small screens */
    min-width: 0;
    padding: 0 16px;
    box-sizing: border-box;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: var(--transition-fast);
}

#navbar.scrolled .nav-logo img {
    height: 34px;
}

.nav-links {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    position: relative;
    padding: 4px 0;
    transition: color 0.4s var(--ease-out);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

#navbar.scrolled .nav-links a {
    color: var(--color-text-dark);
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    border: 1px solid var(--color-white);
    padding: 12px 28px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

#navbar.scrolled .nav-cta {
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.nav-cta:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

#navbar.scrolled .nav-cta:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 1px;
    background: var(--color-white);
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}

#navbar.scrolled .hamburger span {
    background: var(--color-dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

#mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    overflow: hidden;
}

.mobile-nav-links a {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-white);
    padding: 12px 0;
    transform: translateY(100%);
    transition: all 0.5s var(--ease-out);
    position: relative;
}

#mobile-menu.active .mobile-nav-links a {
    transform: translateY(0);
}

/* Staggered reveal for mobile links */
#mobile-menu.active .mobile-nav-links li:nth-child(1) a { transition-delay: 0.05s; }
#mobile-menu.active .mobile-nav-links li:nth-child(2) a { transition-delay: 0.1s; }
#mobile-menu.active .mobile-nav-links li:nth-child(3) a { transition-delay: 0.15s; }
#mobile-menu.active .mobile-nav-links li:nth-child(4) a { transition-delay: 0.2s; }
#mobile-menu.active .mobile-nav-links li:nth-child(5) a { transition-delay: 0.25s; }
#mobile-menu.active .mobile-nav-links li:nth-child(6) a { transition-delay: 0.3s; }
#mobile-menu.active .mobile-nav-links li:nth-child(7) a { transition-delay: 0.35s; }

.mobile-nav-links a:hover {
    color: var(--color-accent);
}

.mobile-cta {
    color: var(--color-accent) !important;
    font-family: var(--font-accent) !important;
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--color-accent);
    padding: 16px 40px !important;
    margin-top: 20px;
    display: inline-block !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-dark);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index integer (not auto) creates an explicit stacking context.
       The <video> GPU layer is fully sandboxed inside this context
       and cannot escape above z-index:1 siblings at #hero level. */
    z-index: 0;
    overflow: hidden;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    /* Peer of .hero-video-wrapper inside #hero, not a child.
       z-index:1 > z-index:0 — always above the video wrapper. */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.65) 80%,
        rgba(0, 0, 0, 0.88) 100%
    );
    /* translate3d promotes this to its own compositor layer immediately
       on page load — no interaction required. */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
}

.hero-label span:last-child {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.label-line {
    width: 56px;
    height: 2.5px;
    background: var(--color-accent);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line span {
    display: inline-block;
    transform: translateY(110%);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 48px;
    opacity: 0;
    letter-spacing: 0.02em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-white);
    border: 1px solid var(--color-white);
    padding: 16px 40px;
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.hero-cta:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.hero-cta svg {
    transition: transform 0.4s var(--ease-out);
}

.hero-cta:hover svg {
    transform: translate(4px, -4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    opacity: 0;
}

.scroll-indicator span {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ========================================
   SECTION LABELS
   ======================================== */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.label-number {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.label-divider {
    width: 48px;
    height: 2px;
    background: var(--color-accent);
    flex-shrink: 0;
}

.label-text {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.section-label-light .label-text {
    color: var(--color-accent);
}

/* ========================================
   SECTION HEADINGS
   ======================================== */
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 32px;
}

.section-heading em {
    font-style: italic;
    color: var(--color-accent);
}

.section-heading-light {
    color: var(--color-white);
}

.gold-line {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin-bottom: 32px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
#about {
    background-color: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    opacity: 0.85;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.about-image {
    position: relative;
}

.about-image-inner {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #E8E0D6 0%, #D4C8BC 50%, #C9A96E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 36, 96, 0.15);
}

.image-placeholder span {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.3);
}

/* ========================================
   VISION SECTION
   ======================================== */
#vision {
    padding: var(--section-padding) 0;
    position: relative;
}

.vision-bg-parallax {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('https://images.unsplash.com/photo-1512343879784-a960bf40e7f2?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.vision-content {
    position: relative;
    z-index: 1;
}

.vision-quote {
    position: relative;
    margin-bottom: 48px;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--color-accent);
    opacity: 0.3;
    position: absolute;
    top: -60px;
    left: -20px;
    line-height: 1;
}

.vision-text {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-white);
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.vision-text em {
    color: var(--color-accent);
    font-style: italic;
}

.vision-text .word {
    display: inline-block;
    overflow: hidden;
}

.vision-text .word-inner {
    display: inline-block;
}

.vision-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-light);
    opacity: 0.75;
    margin-bottom: 20px;
}

/* ========================================
   ESTATE / PRODUCT SECTION
   ======================================== */
#estate {
    background-color: var(--color-white);
}

.estate-header {
    margin-bottom: 64px;
}

.estate-philosophy {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-muted);
    max-width: 600px;
}

.estate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.estate-card {
    padding: 48px 40px;
    background: var(--color-cream);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.estate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    color: var(--color-accent);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.card-line {
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.5s var(--ease-out);
}

.estate-card:hover .card-line {
    width: 80px;
}

/* ========================================
   LIFESTYLE / EXPERIENCE SECTION
   ======================================== */
#lifestyle {
    padding-bottom: var(--section-padding);
}

#lifestyle .container {
    margin-bottom: 60px;
}

.lifestyle-track-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lifestyle-track-wrapper::-webkit-scrollbar {
    display: none;
}

.lifestyle-track-wrapper:active {
    cursor: grabbing;
}

.lifestyle-track {
    display: flex;
    gap: 24px;
    padding: 0 5% 4px;
    width: max-content;
}

.lifestyle-card {
    flex: 0 0 380px;
    height: 520px;
}

.lifestyle-card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 36, 96, 0.1);
    transition: border-color 0.4s var(--ease-out);
}

.lifestyle-card:hover .lifestyle-card-image {
    border-color: rgba(30, 36, 96, 0.25);
}

.lifestyle-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 32px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95) 0%, transparent 100%);
}

.lifestyle-card-tag {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
    display: block;
}

.lifestyle-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.3;
}

/* ========================================
   INVESTORS SECTION
   ======================================== */
.investors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.investors-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text-light);
    opacity: 0.8;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 18px 40px;
    margin-top: 20px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 169, 110, 0.3);
}

.btn-primary svg {
    transition: transform 0.4s var(--ease-out);
}

.btn-primary:hover svg {
    transform: translate(4px, -4px);
}

.investors-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.investor-stat-card {
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 169, 110, 0.25);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* Gold shimmer line on top */
.investor-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.5s var(--ease-out);
}

.investor-stat-card:hover {
    background: rgba(201, 169, 110, 0.08);
    border-color: rgba(201, 169, 110, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 169, 110, 0.15);
}

.investor-stat-card:hover::before {
    width: 100%;
}

.investor-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 4px;
    line-height: 1;
}

.investor-stat-unit {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.investor-stat-icon {
    display: block;
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.investor-stat-highlight {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.investor-stat-label {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
#gallery {
    background: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #e8e2da;
    /* Padding-bottom trick: always works in all grid contexts */
    padding-bottom: 75%; /* 4:3 ratio */
    height: 0;
}

.gallery-item-wide {
    grid-column: span 2;
    padding-bottom: 37.5%; /* half height since it's 2 cols wide */
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.15);
    transition: background 0.4s var(--ease-out);
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover::after {
    background: rgba(26, 26, 26, 0.02);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-content {
    width: 80%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.lightbox-placeholder {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1613490493576-4d0d4c5b8f63?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    border: 1px solid rgba(30, 36, 96, 0.15);
}

.lightbox-placeholder span {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
}

/* ========================================
   INVITATION / CONTACT SECTION
   ======================================== */
#invitation {
    position: relative;
}

#invitation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.82);
    z-index: 0;
}

#invitation .container {
    position: relative;
    z-index: 1;
}

#investors {
    position: relative;
}

#investors::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.78);
    z-index: 0;
}

#investors .container {
    position: relative;
    z-index: 1;
}

.invitation-content {
    text-align: center;
}

.invitation-content .section-label {
    justify-content: center;
}

.invitation-content .section-heading {
    margin-bottom: 16px;
}

.invitation-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 56px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.invitation-form {
    max-width: 500px;
    margin: 0 auto;
}

/* ── Floating-label form (index.html hero) ── */
.invitation-form .form-group {
    position: relative;
    margin-bottom: 40px;
    text-align: left;
}

.invitation-form .form-group input,
.invitation-form .form-group select,
.invitation-form .form-group textarea {
    width: 100%;
    padding: 16px 0 12px;
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.4s;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.invitation-form .form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23C9A96E' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 24px;
}

.invitation-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.invitation-form .form-group select option {
    background: var(--color-dark);
    color: var(--color-white);
}

.invitation-form .form-group label {
    position: absolute;
    top: 16px;
    left: 0;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
}

.invitation-form .form-group input:focus ~ label,
.invitation-form .form-group input:not(:placeholder-shown) ~ label,
.invitation-form .form-group textarea:focus ~ label,
.invitation-form .form-group textarea:not(:placeholder-shown) ~ label,
.invitation-form .form-group select:focus ~ label,
.invitation-form .form-group select[required]:valid ~ label,
.invitation-form .form-group.has-value select ~ label {
    top: -8px;
    font-size: 0.6rem;
    color: var(--color-accent);
}

/* Force optional selects label to stay as placeholder until a value is chosen */
.invitation-form .form-group select:not([required]) ~ label {
    top: 16px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}
.invitation-form .form-group select:not([required]):focus ~ label,
.invitation-form .form-group.has-value select:not([required]) ~ label {
    top: -8px;
    font-size: 0.6rem;
    color: var(--color-accent);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out);
}

.invitation-form .form-group input:focus ~ .form-line,
.invitation-form .form-group textarea:focus ~ .form-line,
.invitation-form .form-group select:focus ~ .form-line {
    width: 100%;
}

.form-error {
    display: none;
    font-size: 0.75rem;
    color: #E74C3C;
    margin-top: 8px;
    font-family: var(--font-body);
}

.invitation-form .form-group.error .form-error {
    display: block;
}

.invitation-form .form-group.error input,
.invitation-form .form-group.error select,
.invitation-form .form-group.error textarea {
    border-bottom-color: #E74C3C;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-accent);
    padding: 20px 48px;
    margin-top: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 169, 110, 0.3);
}

.btn-submit svg {
    transition: transform 0.4s var(--ease-out);
}

.btn-submit:hover svg {
    transform: translateX(6px);
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 0;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: var(--color-accent);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
    background: #F5F0EB;
    padding: 80px 0 20px;
    color: var(--color-text-dark);
    border-top: 1px solid rgba(201,169,110,0.4);
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: clamp(80px, 14vw, 180px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(201,169,110,0.45);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 52px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(0,0,0,0.4);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.5);
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-contact ul li {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.5);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.45);
    transition: all 0.3s var(--ease-out);
}

.social-links a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.social-link-inactive {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.2);
    cursor: not-allowed;
    opacity: 0.4;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: rgba(201,169,110,0.2);
    margin-bottom: 32px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-inner p {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.35);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
/* reveal-up and reveal-text initial states are set by GSAP via gsap.set,
   NOT here — so content is always visible if JS fails to load */

/* ========================================
   INNER PAGE HERO
   ======================================== */
.page-hero {
    position: relative;
    height: 55vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    overflow: hidden;
    background: var(--color-dark);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s ease-out;
}

.page-hero.loaded .page-hero-bg {
    transform: scale(1.02);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.55) 60%,
        rgba(0,0,0,0.85) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content .section-label {
    margin-bottom: 20px;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.1;
}

.page-hero-title em {
    font-style: italic;
    color: var(--color-accent);
}

/* Inner page nav starts scrolled */
.inner-page #navbar {
    background: #F5F0EB;
    border-bottom: 1px solid rgba(201,169,110,0.3);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 12px 0;
}

.inner-page #navbar .nav-links a {
    color: var(--color-text-dark);
    text-shadow: none;
}

.inner-page #navbar .nav-cta {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.inner-page #navbar .nav-cta:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.inner-page #navbar .hamburger span {
    background: var(--color-dark);
}

/* Active nav link */
.nav-links a.active,
.mobile-nav-links a.active {
    color: var(--color-accent) !important;
    font-weight: 600;
}

.inner-page #navbar .nav-links a.active {
    color: var(--color-accent) !important;
}

/* ========================================
   INNER PAGE SECTIONS
   ======================================== */
.page-section {
    padding: var(--section-padding) 0;
}

.page-section-dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.page-section-cream {
    background: var(--color-cream);
}

/* Two column content+image */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-grid.reverse {
    direction: rtl;
}

.split-grid.reverse > * {
    direction: ltr;
}

.split-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.split-image:hover img {
    transform: scale(1.04);
}

/* Values / Feature List */
.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.7;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--color-accent);
}

/* Spec Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
}

.spec-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.spec-table td {
    padding: 16px 12px;
    font-size: 0.95rem;
}

.spec-table td:first-child {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    width: 40%;
}

/* Amenity icons grid */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.amenity-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-cream);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s var(--ease-out);
}

.amenity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--color-accent);
}

.amenity-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--color-accent);
}

.amenity-label {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-dark);
}

/* Gallery filter */
.gallery-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 24px;
    border: 1px solid rgba(0,0,0,0.15);
    background: none;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Contact map placeholder */
.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e8eef8, #f0e8f8);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.map-overlay-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
}


/* Location Stats */
.location-stats {
    display: flex;
    gap: 40px;
    margin-top: 12px;
}
.location-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}
.location-time {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--color-accent);
    line-height: 1;
}
.location-unit {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    margin-top: 2px;
}
.location-name {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #555;
    margin-top: 6px;
    white-space: nowrap;
}

/* Real Footage Video Section */
.real-footage-section {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
}
.real-footage-header {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}
.real-footage-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-top: 16px;
}
.real-footage-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 45%;
    overflow: hidden;
    border-radius: 4px;
}
.real-footage-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Page hero tall variant */
.page-hero-tall {
    height: 70vh;
    min-height: 500px;
    align-items: center;
    padding-bottom: 0;
}

/* Contact layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-top: 8px;
}

.contact-form-wrap {
    background: var(--color-dark);
    padding: 56px 48px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.12);
    border-radius: 4px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.contact-detail:last-of-type {
    border-bottom: none;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.contact-detail-label {
    font-family: var(--font-accent);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

a.contact-detail-value:hover {
    color: var(--color-accent);
}

/* Invitation form */
.invitation-form .form-header,
.contact-inquiry-form .form-header {
    margin-bottom: 8px;
}

/* ── Contact page form ── */
.contact-form-wrap .form-group,
.contact-inquiry-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
    display: block;
}

.form-input {
    display: block;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: rgba(255,255,255,0.25);
}

.form-input:focus {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.1);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9A96E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    color: rgba(255,255,255,0.6);
}

.form-select option {
    background: #1A1A1A;
    color: #fff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-form-wrap {
        padding: 40px 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .split-grid.reverse {
        direction: ltr;
    }
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .amenity-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-filter {
        gap: 8px;
    }
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
#scroll-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.4s var(--ease-out),
                visibility 0.4s var(--ease-out),
                transform 0.4s var(--ease-out),
                background 0.3s;
}

#scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-3px);
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-line::after {
        animation: none;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
    }

    .reveal-text {
        opacity: 1;
        transform: none;
    }

    .title-line span {
        transform: none;
    }

    .hero-label, .hero-subtitle, .hero-cta, .scroll-indicator {
        opacity: 1;
    }
}
