:root {
    /* Color Palette */
    --obsidian: #0A0A0B;
    --charcoal: #141418;
    --smoke: #1E1E24;
    --gold: #C9A96E;
    --gold-light: #E8CFA0;
    --gold-dark: #A68A56;
    --cream: #F7F3ED;
    --pearl: #FFFFFF;
    --muted: #8E8E9E;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-ui: 'Inter', sans-serif;
    
    /* Transitions & Spacing */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --section-pad: 120px 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ui);
    background-color: var(--obsidian);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
    opacity: 0; /* For page transition */
    transition: opacity 0.4s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Subtle Noise Texture */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9998; /* Below custom cursor */
    opacity: 0.03;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Custom Cursor */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

/* Typography */
h1, h2, h3, h4, .logo-text, .eyebrow {
    font-family: var(--font-display);
    font-weight: 400;
}

.display-1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

h4 {
    font-size: 1.25rem;
    color: var(--pearl);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--muted);
}

.large-text {
    font-size: 1.25rem;
    color: var(--cream);
}

.italic-gold {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.gold-text {
    color: var(--gold);
}

.muted-text {
    color: var(--muted);
}

.eyebrow {
    display: block;
    font-size: 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-style: italic;
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Icons */
.gold-icon {
    color: var(--gold);
    margin-bottom: 1rem;
}

/* Page padding for pages without hero image */
.page-padding-top {
    padding-top: 100px;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section {
    padding: var(--section-pad);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

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

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

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 11, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 11, 0.9);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-text {
    font-size: 2rem;
    color: var(--pearl);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--pearl);
    margin: 5px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition-fast);
    cursor: none; /* Let custom cursor handle it */
    text-align: center;
    border: none;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--obsidian);
    font-weight: 600;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 169, 110, 0.2);
}

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

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

.btn-full {
    width: 100%;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: var(--transition-smooth);
}

.shimmer:hover::before {
    animation: shimmer-swipe 0.75s;
}

@keyframes shimmer-swipe {
    100% { left: 200%; }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px; /* Offset for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.parallax-bg {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    transform: translateY(0);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--obsidian) 0%, rgba(10,10,11,0.8) 50%, rgba(10,10,11,0.4) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text .subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-form-card {
    background: rgba(30, 30, 36, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.hero-form-card h3 {
    margin-bottom: 0.5rem;
}

/* Forms */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    position: absolute;
    left: 0;
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--cream);
    font-family: var(--font-ui);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

/* Elegant Form Styling */
.elegant-form .form-group label {
    top: 0.8rem;
    left: 0;
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.elegant-form .form-group input:focus ~ label,
.elegant-form .form-group input:not(:placeholder-shown) ~ label,
.elegant-form .form-group textarea:focus ~ label,
.elegant-form .form-group textarea:not(:placeholder-shown) ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--gold);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--gold);
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--muted);
    cursor: pointer;
}

/* Definition Section */
.definition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.step-card {
    background: var(--smoke);
    padding: 2rem;
    border-left: 2px solid var(--gold);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.step-card:hover {
    transform: translateX(10px);
    background: #25252c;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Features */
.feature-card {
    background: var(--obsidian);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    height: 100%;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.feature-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted);
}

.check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.gold-checks li::before {
    content: '✓';
    color: var(--gold);
}

/* About Section */
.split-image {
    position: relative;
}

.split-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: -1;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.2);
    transition: var(--transition-smooth);
}

.split-image:hover img {
    filter: grayscale(0%);
}

.quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold-light);
    border-left: 2px solid var(--gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.we-do-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.we-do-list ul {
    list-style: none;
}

.we-do-list li {
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Services */
.service-block {
    background: var(--obsidian);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    background: var(--obsidian);
    padding: 3rem;
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--pearl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

/* International Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    width: 30%;
    text-align: center;
}

.tl-dot {
    width: 20px;
    height: 20px;
    background: var(--obsidian);
    border: 2px solid var(--gold);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition-fast);
}

.timeline-item:hover .tl-dot {
    background: var(--gold);
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.5);
}

.focus-box {
    background: var(--obsidian);
    padding: 4rem;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.focus-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.focus-split ul {
    list-style: none;
    margin-top: 1rem;
}

.focus-split li {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 0.5rem;
    color: var(--muted);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: var(--charcoal);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info ol {
    padding-left: 1.5rem;
    color: var(--muted);
}

.contact-info li {
    margin-bottom: 0.5rem;
}

.privacy-note {
    font-size: 0.8rem;
    text-align: center;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--pearl);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--gold);
    font-style: italic;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.footer-sub {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .display-1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    .hero-content, .definition-grid, .split-layout, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-bg { height: 120%; }
    .hero { padding-top: 150px; padding-bottom: 50px; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 11, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
        z-index: 1000;
    }
    .nav.active { right: 0; }
    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .mobile-menu-btn { display: block; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    
    .header-cta { display: none; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .we-do-list, .focus-split {
        grid-template-columns: 1fr;
    }
    
    .stats-banner {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    .timeline::before {
        left: 50%;
        top: 0;
        width: 1px;
        height: 100%;
    }
    .timeline-item { width: 100%; }
    
    .form-row { flex-direction: column; gap: 0; }
    
    /* Disable custom cursor on mobile */
    .cursor-dot, .cursor-ring { display: none; }
    body, a, button, input, textarea, select { cursor: auto !important; }
}
