/* ===================================================
   64 CAPITAL GROUP — MAIN STYLESHEET
   Aesthetic: Refined luxury / dark editorial
=================================================== */

/* --- CSS Variables --- */
:root {
    --navy:       #0c1824;
    --navy-mid:   #162030;
    --navy-light: #1e2d3e;
    --gold:       #c9a96e;
    --gold-light: #e2c99a;
    --gold-dim:   #9a7a4a;
    --cream:      #f5f0e8;
    --cream-dim:  #d9d2c5;
    --white:      #ffffff;
    --text-body:  #b8c4ce;
    --text-muted: #6e8494;
    --border:     rgba(201, 169, 110, 0.18);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Outfit', sans-serif;

    --max-w: 1180px;
    --section-pad: 110px;
    --radius: 4px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    background: var(--navy);
    color: var(--text-body);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.2;
    color: var(--cream);
    letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--gold-light);
}

p { color: var(--text-body); font-size: 1rem; }

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

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}
.section-label.light { color: var(--gold-light); }

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary.large { padding: 1.1rem 3rem; font-size: 0.9rem; }

.btn-ghost {
    display: inline-block;
    border: 1px solid var(--gold-dim);
    color: var(--cream-dim);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius);
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
    display: inline-block;
    border: 1px solid var(--gold-dim);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* --- Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ===================================================
   NAVIGATION
=================================================== */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.6rem 0;
    transition: padding var(--transition), background var(--transition), backdrop-filter var(--transition);
}
#site-header.scrolled {
    padding: 0.9rem 0;
    background: rgba(12, 24, 36, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-logo img { height: 44px; width: auto; }
.logo-text-fallback {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--cream);
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--cream);
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================
   HERO
=================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30, 50, 70, 0.6) 0%, transparent 60%),
        linear-gradient(135deg, #0c1824 0%, #162030 40%, #1a2a3a 70%, #0f1e2c 100%);
}

/* Geometric accent lines */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    background:
        repeating-linear-gradient(
            -55deg,
            transparent,
            transparent 80px,
            rgba(201, 169, 110, 0.03) 80px,
            rgba(201, 169, 110, 0.03) 81px
        );
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0; right: 10%;
    width: 1px; height: 55%;
    background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12,24,36,0.9) 0%, rgba(12,24,36,0.5) 50%, rgba(12,24,36,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 7rem;
    max-width: 760px;
    width: 100%;
    margin-left: max(2rem, calc((100vw - var(--max-w)) / 2));
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold-dim));
    margin: 0 auto;
    animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================================
   ABOUT SECTION
=================================================== */
.section-about {
    padding: var(--section-pad) 0;
    background: var(--navy);
}

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

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { margin-bottom: 1.25rem; color: var(--text-body); }
.about-text a  { margin-top: 0.5rem; }

.about-card {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.about-card::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem; left: 1.8rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold);
    line-height: 1;
    opacity: 0.4;
}
.about-card blockquote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 300;
    color: var(--cream);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.about-card cite {
    font-size: 0.8rem;
    color: var(--gold-dim);
    letter-spacing: 0.1em;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.stat {
    background: var(--navy-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
}
.stat span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ===================================================
   FOCUS SECTION
=================================================== */
.section-focus {
    padding: var(--section-pad) 0;
    background: var(--navy-mid);
    position: relative;
}
.section-focus::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); }

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

.focus-card {
    background: var(--navy-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: border-color var(--transition), transform var(--transition);
}
.focus-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
}
.focus-icon {
    width: 48px; height: 48px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.focus-card h3 { color: var(--cream); margin-bottom: 0.85rem; }
.focus-card p { color: var(--text-body); font-size: 0.95rem; }

/* ===================================================
   VALUES SECTION
=================================================== */
.section-values {
    padding: var(--section-pad) 0;
    background: var(--navy);
    position: relative;
}
.section-values::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.values-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.values-text h2 { margin-bottom: 1.2rem; }
.values-text > p { color: var(--text-body); margin-bottom: 2.5rem; }

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.values-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.val-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--gold-dim);
    line-height: 1;
    min-width: 2rem;
    padding-top: 0.1rem;
}
.values-list strong {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--cream);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}
.values-list p { font-size: 0.92rem; color: var(--text-body); }

/* Accent box */
.values-accent-box {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.values-accent-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.accent-large {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.4;
}
.accent-large em {
    font-style: italic;
    color: var(--gold-light);
}

/* ===================================================
   CTA SECTION
=================================================== */
.section-cta {
    padding: var(--section-pad) 0;
    background: var(--navy-mid);
    position: relative;
}
.section-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}
.cta-box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta-box h2 { margin-bottom: 1rem; }
.cta-box p { color: var(--text-body); margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ===================================================
   FOOTER
=================================================== */
footer {
    background: #080f17;
    border-top: 1px solid var(--border);
    padding-top: 5rem;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo { height: 42px; width: auto; margin-bottom: 1rem; }
.footer-logo-fallback {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--cream);
    display: block;
    margin-bottom: 1rem;
}
.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--cream); }

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 2rem;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .values-grid { grid-template-columns: 1fr; gap: 3rem; }
    .focus-grid  { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-pad: 70px; }

    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(8, 15, 23, 0.98);
        backdrop-filter: blur(16px);
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1rem;
        letter-spacing: 0.18em;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 6rem 1.5rem 4rem;
    }

    .focus-grid { grid-template-columns: 1fr; }

    .about-stats { grid-template-columns: 1fr; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .values-accent { display: none; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; }
    .btn-primary, .btn-ghost { width: 100%; text-align: center; }
}
