/* Gimbal Partners - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&family=DM+Serif+Display&family=Spectral:wght@300;400;500&display=swap');

:root {
    --primary-black: #0a0a0a;
    --warm-gray: #4a4844;
    --light-cream: #faf8f5;
    --accent-gold: #9b8b6e;
    --text-gray: #35342f;
    --border-light: rgba(10, 10, 10, 0.08);
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Spectral', serif;
    font-weight: 400;
    color: var(--text-gray);
    background: var(--light-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(10,10,10,.02) 35px, rgba(10,10,10,.02) 70px);
}

/* Navigation */
nav {
    background: var(--light-cream);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--primary-black);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

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

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hero Sections */
.hero {
    padding: 6rem 3rem;
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-tagline {
    font-family: 'Spectral', serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    color: var(--primary-black);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 750px;
    margin-bottom: 2.5rem;
}

/* Main Content Sections */
.section {
    padding: 5rem 3rem;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.section-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--warm-gray);
    max-width: 600px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-black);
    color: var(--light-cream);
    padding: 1rem 2.5rem;
    border: none;
    font-family: 'Spectral', serif;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--warm-gray);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--primary-black);
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    gap: 1rem;
    border-color: var(--accent-gold);
}

/* Cards */
.card {
    padding: 2.5rem;
    background: white;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent-gold);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    border-left: 2px solid var(--accent-gold);
    padding-left: 1.5rem;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--primary-black);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--warm-gray);
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: 3rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--light-cream);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--primary-black);
    color: var(--light-cream);
    padding: 4rem 3rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-gray);
    font-family: 'Spectral', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

/* Utilities */
.text-center {
    text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}
