:root {
    /* Palette from roadmap */
    --color-bg:       #141210;
    --color-card:     #1E1A17;
    --color-gold:     #C9941A;
    --color-gold-lt:  #E8B84B;
    --color-cream:    #F5EDD8;
    --color-muted:    #8A8075;
    
    /* Typography */
    --font-primary:   'Barlow', sans-serif;
    --font-serif:     'Fraunces', serif;
    
    /* Font Weight & Tracking */
    --tracking-wide:  0.15em;
    --tracking-tight: -0.03em;
    --font-weight-heading: 600;
    
    /* Spacing */
    --spacing-lg: 3rem;
    --spacing-md: 2rem;
    --container-max: 1280px;
    --nav-height: 120px; /* Further increased for premium feel */

    /* Transitions & Easing */
    --transition:       all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-out-expo:    cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    --transition-fast:  0.25s var(--ease-out-expo);
    --transition-slow:  0.8s var(--ease-out-expo);
    --transition-tactile: 0.15s cubic-bezier(0.2, 0, 0, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility: Focus styles */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

.btn:focus-visible {
    outline-offset: 2px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-cream);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

/* --- Atmospheric effects --- */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none !important;
    }
}

.custom-cursor.active {
    width: 40px;
    height: 40px;
    background: rgba(201, 148, 26, 0.4);
    mix-blend-mode: normal;
}

/* Luxury overlay and watermarks removed to eliminate banding and circles */

.grain-container {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("https://grains.studio/assets/static/grains.png");
    opacity: 0.07; /* Increased for better dithering */
    pointer-events: none;
    z-index: 9998;
    animation: grain-dance 8s steps(10) infinite;
}

/* Mesh gradient removed for cleaner aesthetic */

@keyframes grain-dance {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

@keyframes mesh-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: var(--font-weight-heading);
    line-height: 1.1;
    letter-spacing: var(--tracking-tight);
    font-variation-settings: "opsz" 72, "SOFT" 50;
    text-wrap: balance;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.text-gold { color: var(--color-gold); }
.text-italic { font-style: italic; font-family: var(--font-serif); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* --- Utilities --- */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.section-header {
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-badge {
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-badge::after {
    content: '';
    height: 1px;
    width: 30px;
    background: var(--color-gold);
    opacity: 0.5;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3.8rem);
    margin-bottom: 1.5rem;
    color: var(--color-cream);
    max-width: 25ch;
    text-wrap: balance;
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

.header-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 4px;
    gap: 0.8rem;
}

.btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn:active {
    transform: scale(0.97) translateY(0);
    transition: var(--transition-tactile);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-gold-lt);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 148, 26, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-cream);
    border: 1px solid var(--color-muted);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
    background: rgba(201, 148, 26, 0.05);
}

/* Button pulse effect for Primary */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 0;
    padding-bottom: 120%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.btn-primary:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: 0s;
}

/* --- Hero Section --- */
#hero {
    position: relative;
    min-height: max(100vh, 860px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: calc(var(--nav-height) + 2rem);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax */
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(20, 18, 16, 0.4) 0%, 
        rgba(20, 18, 16, 0.8) 70%, 
        var(--color-bg) 100%);
}

.hero-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(201, 148, 26, 0.15);
    border-left: 3px solid var(--color-gold);
    color: var(--color-gold-lt);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    font-weight: 900;
    font-variation-settings: "opsz" 100, "SOFT" 100, "WONK" 1;
    color: var(--color-gold);
    background: linear-gradient(135deg, 
        var(--color-cream) 0%, 
        var(--color-gold-lt) 50%, 
        var(--color-cream) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 8s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-primary);
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    padding: 1.25rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-gold);
    font-weight: 800;
    letter-spacing: -0.05em;
    font-variation-settings: "opsz" 48, "SOFT" 0;
}

.stat-label {
    font-size: 0.68rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    font-weight: 600;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.72rem;
    color: rgba(201, 165, 100, 0.45);
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    letter-spacing: 0.02em;
}

.hero-disclaimer sup {
    font-size: 0.65rem;
    vertical-align: super;
    margin-right: 0.15em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--color-muted);
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: var(--color-gold);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
    position: relative;
    overflow: hidden;
}

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

@keyframes scroll-line {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

@media (max-height: 750px) {
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-stats {
        display: grid; 
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
        padding: 2rem;
        margin-bottom: 4rem;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 160px 0 60px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem 1rem;
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        text-align: center;
    }
    
    .scroll-indicator {
        display: none; /* Hide on very small screens to avoid clutter */
    }
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-side {
    position: relative;
    padding: 2rem;
}

/* Moved border decoration to image-frame to prevent misalignment */
.image-frame::before {
    content: '';
    position: absolute;
    inset: -1.5rem;
    border: 1px solid rgba(201, 148, 26, 0.2);
    border-radius: 12px;
    z-index: -1;
    pointer-events: none;
}

.about-description p {
    font-size: 1.15rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.about-description strong {
    color: var(--color-gold-lt);
}

.qp-highlight {
    display: flex;
    gap: 1.5rem;
    background: var(--color-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 148, 26, 0.1);
    margin-top: 3rem;
    position: relative;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.qp-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 148, 26, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}

.qp-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gold);
}

.qp-title {
    display: block;
    font-size: 0.8rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.qp-text {
    font-size: 0.95rem;
    margin: 0;
}

.about-image-side {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 8px; /* Slightly sharper for LUXE */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    transition: box-shadow 0.5s var(--ease-out-expo);
}

.image-frame:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.9);
}

.map-frame {
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.map-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.claim-map-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-frame:hover .claim-map-img {
    transform: scale(1.05);
}

.frame-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(20, 18, 16, 0.8);
    backdrop-filter: blur(5px);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gold);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-image-side {
        order: -1;
    }
}

/* --- Stats Strip --- */
.stats-strip {
    background-color: #0A0908;
    padding: 60px 0;
    border-top: 1px solid rgba(201, 148, 26, 0.1);
    border-bottom: 1px solid rgba(201, 148, 26, 0.1);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-block .stat-value {
    font-size: 2.5rem;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-unit {
    font-size: 0.9rem;
    color: var(--color-gold-lt);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-block .stat-label {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent; /* Default transparent */
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar.scrolled {
    background: rgba(20, 18, 16, 0.8);
    backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(201, 148, 26, 0.15);
    height: 90px;
}

@media (max-width: 768px) {
    .navbar.scrolled {
        height: 70px;
    }
    
    .navbar {
        height: 70px;
    }
}

/* Subtle progress line at the bottom of header */
.nav-scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    width: 0%;
    transition: width 0.1s linear;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-actions .btn-primary.desktop-only {
    height: auto;
    border: none;
    border-radius: 4px;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #A87C14 0%, #C9941A 100%);
    color: var(--color-bg);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-actions .btn-primary.desktop-only:hover {
    color: var(--color-bg);
}

.nav-actions .btn-primary.desktop-only i {
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.nav-actions .btn-primary.desktop-only:hover i {
    transform: translateX(8px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-cream);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo .brand {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: 1;
}

@media (max-width: 768px) {
    .logo .brand {
        font-size: 1.1rem;
    }
    
    .logo .subtext {
        font-size: 0.5rem;
    }
}

.logo .subtext {
    font-family: var(--font-primary);
    font-size: 0.6rem;
    color: var(--color-gold);
    letter-spacing: 0.25em;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-cream);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10001;
    position: relative;
    transition: transform 0.3s var(--ease-out-expo);
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    left: 4px;
    width: 24px;
    height: 2px;
    background-color: var(--color-gold);
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

/* Base positions */
.mobile-menu-toggle span:nth-child(1) { top: 10px; }
.mobile-menu-toggle span:nth-child(2) { top: 18px; }
.mobile-menu-toggle span:nth-child(3) { top: 26px; }

/* Active state (Cross) */
.mobile-menu-toggle.active span:nth-child(1) {
    top: 18px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 18px;
    transform: rotate(-45deg);
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
}



.mobile-only {
    display: none;
}

/* --- Responsive Navigation --- */
@media (max-width: 992px) {
    .navbar {
        height: 80px;
        background: rgba(20, 18, 16, 0.8);
        backdrop-filter: blur(20px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(20, 18, 16, 0.95);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s var(--ease-out-expo);
        z-index: 999;
        gap: 2.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s var(--ease-out-expo);
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--item-index) * 0.1s);
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .navbar {
        padding: 0 10px;
    }

    .mobile-only {
        display: flex;
        width: 100%;
        max-width: 250px;
        margin-top: 1rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s var(--ease-out-expo);
        transition-delay: 0.4s;
    }

    .nav-links.active .mobile-only {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Map Styling --- */
.map-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.claim-map-img {
    width: 100%;
    display: block;
    filter: brightness(0.55) contrast(1.1) saturate(0.8);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.map-frame:hover .claim-map-img {
    transform: scale(1.05);
    filter: brightness(0.8) contrast(1.1) saturate(1);
}

@media (max-width: 992px) {
    .map-frame {
        margin-top: 2rem;
    }
}

/* --- Footer --- */
.footer {
    background-color: #0F0D0B;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: var(--color-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-brand .logo-text .brand {
    font-size: 1.1rem;
}

.footer h4 {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-family: var(--font-primary);
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-registration-link {
    color: var(--color-gold) !important;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.footer-registration-link i {
    width: 14px;
    height: 14px;
    color: var(--color-gold);
    transition: var(--transition);
}

.footer-registration-link:hover i {
    transform: translateY(-2px);
}

.footer-contact p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: var(--color-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 2.5rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.disclaimer {
    color: var(--color-muted);
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: 800px;
}

.copyright {
    color: #4A4035;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Geology Section --- */
.geology-tabs {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
}

.tab-controls {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--color-muted);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    white-space: nowrap;
}

.tab-btn i {
    width: 18px;
    height: 18px;
}

.tab-btn:hover {
    color: var(--color-gold);
}

.tab-btn.active {
    color: var(--color-gold);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    opacity: 0;
}

.tab-pane.active {
    display: block;
    animation: tabEntrance 0.6s var(--ease-out-expo) forwards;
}

@keyframes tabEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* --- Geology Adjustments --- */
.geology {
    position: relative;
    overflow: hidden;
}

#gold-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.geology-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: flex-start;
}

.geology-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold-lt);
    line-height: 1.2;
}

.geology-text p {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.geology-features {
    list-style: none;
    margin-bottom: 2.5rem;
    background: rgba(20, 18, 16, 0.5); /* Much darker background */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.geology-features li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.geology-features li:last-child {
    margin-bottom: 0;
}

.geology-features li i {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 3px;
    width: 20px;
    height: 20px;
}

.geology-features li span {
    font-size: 1rem;
    color: var(--color-cream);
    line-height: 1.5;
}

.geology-features strong {
    color: var(--color-gold-lt);
}

.muted-text {
    font-size: 0.9rem !important;
    font-style: italic;
    opacity: 0.7;
}

.geology-image .image-frame img {
    width: 100%;
    display: block;
    aspect-ratio: 16/11;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.geology-image .image-frame:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .geology-grid {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .geology-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .geology-image {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .geology-text {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .geology-tabs {
        padding: 1.5rem 0.5rem !important;
    }

    .tab-controls {
        display: flex;
        flex-wrap: nowrap;
        gap: 1.5rem;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        padding: 0 1.5rem 1rem;
        scrollbar-width: none;
        margin-bottom: 2rem;
        width: calc(100% + 3rem); /* Bleed out of parent padding */
        margin-left: -1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .tab-controls::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        padding: 0.75rem 0.25rem;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tab-indicator {
        display: none;
    }

    .tab-btn::after {
        bottom: -1px;
    }
}

/* --- Timeline Section --- */
.history {
    background: transparent;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(-50%);
    overflow: hidden;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--color-gold) 10%, 
        var(--color-gold) 90%, 
        transparent);
    transition: height 0.1s linear;
}

.timeline-item {
    position: relative;
    margin-bottom: 100px;
    width: 50%;
    padding: 0 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-item:nth-child(odd) {
    text-align: right;
}

.timeline-marker {
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--color-bg);
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-item:hover .timeline-marker {
    box-shadow: 0 0 20px rgba(201, 148, 26, 0.6);
    transform: scale(1.3);
}

.timeline-item:hover .timeline-marker::after {
    opacity: 1;
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.8rem;
    letter-spacing: 0.15em;
    padding: 2px 10px;
    border-left: 2px solid var(--color-gold);
}

.timeline-item:nth-child(odd) .timeline-year {
    border-left: none;
    border-right: 2px solid var(--color-gold);
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--color-cream);
    letter-spacing: -0.01em;
}

.timeline-content p {
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Mobile Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }

    .timeline-year {
        border-right: none !important;
        border-left: 2px solid var(--color-gold) !important;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }
}

/* Staggered Reveal for Timeline */
.timeline-item.active {
    transition-delay: calc(var(--item-index, 0) * 0.1s);
}

/* --- Exploration Program Section --- */
.exploration {
    background-color: #0d0c0a;
}

.exploration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .exploration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .exploration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.phase-card {
    background: var(--color-card);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-gold);
    opacity: 0.3;
    transition: var(--transition);
}

.phase-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.phase-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 15px var(--color-gold);
}

.phase-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 148, 26, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.phase-card:hover .phase-icon {
    background: var(--color-gold);
    color: var(--color-bg);
}

.phase-icon i {
    width: 28px;
    height: 28px;
}

.phase-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.phase-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--color-cream);
}

.phase-desc {
    color: var(--color-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.phase-list {
    list-style: none;
    margin-top: auto;
}

.phase-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--color-cream);
}

.phase-list li:last-child {
    margin-bottom: 0;
}

.phase-list i {
    width: 16px;
    height: 16px;
    color: var(--color-gold);
}

@media (max-width: 1024px) {
    .exploration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .exploration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .phase-card {
        padding: 2.5rem 2rem;
    }
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), 
                transform 0.8s var(--ease-out-expo);
    will-change: transform, opacity;
}

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

.reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: calc(var(--word-index) * 0.05s);
}

.active .reveal-word {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Logic: items with --item-index will appear sequentially */
.reveal[style*="--item-index"].active {
    transition-delay: calc(var(--item-index) * 0.1s);
}

/* Specific reveal variations */
.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-left.active, .reveal-right.active {
    transform: translateX(0);
}


/* --- Why Invest Section --- */
.invest {
    background: transparent;
}

.invest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.invest-card {
    background: var(--color-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.invest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 148, 26, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.invest-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 148, 26, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.invest-card:hover::before {
    transform: translateX(100%);
}

.invest-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 148, 26, 0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.invest-card:hover .invest-icon {
    background: var(--color-gold);
    color: var(--color-bg);
}

.invest-icon i {
    width: 28px;
    height: 28px;
}

.invest-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-gold-lt);
}

.invest-desc {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* --- Investment Section Responsive --- */
@media (max-width: 1024px) {
    .invest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .invest-grid {
        grid-template-columns: 1fr;
    }
    
    .invest-card {
        padding: 2.5rem 2rem;
    }
}
/* --- Documents Section --- */
.documents {
    background-color: #0d0c0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.doc-card {
    background: var(--color-card);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.doc-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.doc-icon {
    width: 64px;
    height: 64px;
    background: rgba(201, 148, 26, 0.1);
    color: var(--color-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.doc-icon i {
    width: 32px;
    height: 32px;
}

.doc-info {
    flex-grow: 1;
}

.doc-title {
    font-size: 1.6rem;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.doc-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.doc-desc {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.btn-download {
    width: 100%;
    justify-content: center;
    gap: 0.8rem;
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 6, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--color-card);
    width: 90%;
    max-width: 500px;
    padding: 3.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255,255,255,0.05); /* Institutional glow */
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.success-message {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successPop {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(201, 148, 26, 0.15);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    border: 2px solid var(--color-gold);
}

.success-icon i {
    width: 40px;
    height: 40px;
    stroke-width: 3;
    animation: checkmark 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes checkmark {
    0% { opacity: 0; transform: scale(0.5) rotate(-20deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(10deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}
.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 148, 26, 0.1);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-cream);
}

.modal-header p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.modal-note {
    font-size: 0.75rem;
    color: var(--color-muted);
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.4;
}

.w-full {
    width: 100% !important;
}

@media (max-width: 992px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 500px) {
    .modal-content {
        padding: 2.5rem 1.5rem;
    }
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-info-side h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.contact-lead-text {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: 3rem;
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 148, 26, 0.1);
    border: 1px solid rgba(201, 148, 26, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}

.contact-item-text p, .contact-item-text a {
    font-size: 1rem;
    color: var(--color-cream);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-text a:hover {
    color: var(--color-gold);
}

/* Form Styling */
.contact-form-card {
    background: var(--color-card);
    padding: 3.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0,0,0,0.8); /* Extremely tight to prevent any glow/banding */
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.form-control {
    background: rgba(20, 18, 16, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 1rem 1.2rem;
    color: var(--color-cream);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(201, 148, 26, 0.05);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C9941A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-item input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(20, 18, 16, 0.5);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
}

.checkbox-item input:checked {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.checkbox-item input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--color-bg);
    transform: translate(-50%, -50%) scale(1);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.checkbox-item:hover input {
    border-color: var(--color-gold);
}

.checkbox-item:hover .checkbox-label {
    color: var(--color-cream);
}

/* Honeypot */
.hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    gap: 1rem;
}

/* Success State */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22C55E;
    margin: 0 auto 2rem;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--color-muted);
}

/* Error helper styles */
.form-control.error {
    border-color: #ef4444;
}

.error-text {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.4rem;
    display: none;
}

.form-control.error + .error-text {
    display: block;
}

/* Responsive Form */
@media (max-width: 1200px) {
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .contact-info-side {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-lead-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-details {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .contact-item {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        gap: 1.25rem;
    }

    .contact-item-icon {
        width: 42px;
        height: 42px;
    }

    .contact-item-text p, .contact-item-text a {
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .contact-form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
}

/* Reveal Helpers */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 400px;
    background: rgba(26, 24, 22, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.8rem;
    z-index: 10000;
    transform: translateY(120%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-muted);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
    }
}

/* --- Legal Sub-pages Styles --- */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page-header {
    padding: 180px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(20, 18, 16, 0.5) 0%, transparent 100%);
}

.legal-badge {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(201, 148, 26, 0.2);
    border-radius: 50px;
    background: rgba(201, 148, 26, 0.05);
}

.legal-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-cream);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.legal-date {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.legal-content {
    padding: 60px 0 100px;
}

.legal-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-muted);
}

.legal-body h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-cream);
    margin: 3.5rem 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.legal-body h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-gold-lt);
    margin: 2.5rem 0 1rem;
}

.legal-body p {
    margin-bottom: 1.8rem;
}

.legal-body strong {
    color: var(--color-cream);
    font-weight: 600;
}

.legal-body ul, .legal-body ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-body li {
    margin-bottom: 1rem;
    position: relative;
    list-style-type: square;
    color: var(--color-muted);
}

.legal-body li::marker {
    color: var(--color-gold);
}

.legal-callout {
    background: var(--color-card);
    border: 1px solid rgba(201, 148, 26, 0.2);
    border-radius: 8px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.legal-callout p:last-child {
    margin-bottom: 0;
}

.legal-callout strong {
    color: var(--color-gold);
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.back-to-home:hover {
    color: var(--color-cream);
}

.back-to-home i {
    transition: transform 0.3s ease;
}

.back-to-home:hover i {
    transform: translateX(-4px);
}

