/* ============================================= */
/*  ALPHATIER CAPITAL — DESIGN SYSTEM v2         */
/*  "Cold Money" — Swiss Bank / Heavy Fintech    */
/* ============================================= */

:root {
    /* Palette — Matte Black, Charcoal, Champagne Gold */
    --bg-deep:       #050507;
    --bg-primary:    #0a0a0e;
    --bg-secondary:  #101014;
    --bg-card:       rgba(255,255,255,0.02);
    --bg-card-hover: rgba(255,255,255,0.04);

    --border:        rgba(255,255,255,0.05);
    --border-hover:  rgba(201,168,76,0.2);

    --text-primary:  #e8e8e8;
    --text-body:     #9a9aaa;
    --text-muted:    #5c5c6e;

    --gold:          #c9a84c;
    --gold-soft:     #b89b45;
    --gold-dim:      rgba(201,168,76,0.12);
    --gold-glow:     rgba(201,168,76,0.06);

    /* Typography — Swiss/Fintech */
    --font-heading:  'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:     'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-pad: clamp(80px, 10vw, 140px);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 0.4s var(--ease);
}

/* ============================================= */
/*  RESET & BASE                                 */
/* ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold-dim); color: var(--text-primary); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================= */
/*  NAVBAR                                       */
/* ============================================= */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    background: transparent;
    transition: background 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(5,5,7,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 14px 0;
    border-bottom-color: var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 56px; width: auto; mix-blend-mode: lighten; }
.nav-links { display: flex; gap: 36px; }
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute; bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.25);
    padding: 9px 28px;
    transition: all var(--transition);
}
.nav-cta:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
    display: block; width: 22px; height: 1px; background: var(--text-muted);
    transition: all 0.3s;
}

/* ============================================= */
/*  BUTTONS                                      */
/* ============================================= */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 40px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.btn-gold {
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.3);
    background: transparent;
}
.btn-gold:hover {
    background: var(--gold);
    color: var(--bg-deep);
    box-shadow: 0 4px 30px rgba(201,168,76,0.12);
}
.btn-ghost {
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: transparent;
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 0.75rem;
    margin-top: 8px;
}

/* ============================================= */
/*  HERO                                         */
/* ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-grid-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 45% at 50% 40%, black 10%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 45% at 50% 40%, black 10%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(transparent, var(--bg-primary));
    z-index: 1;
}

.hero-logo {
    width: 340px; height: auto;
    margin: 0 auto 56px;
    mix-blend-mode: lighten;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-title-accent {
    color: var(--gold);
    display: block;
    font-weight: 400;
    letter-spacing: 0.14em;
    margin-top: 8px;
}
.hero-sub {
    max-width: 540px;
    margin: 0 auto 48px;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.85;
    font-weight: 400;
}
.hero-ctas {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 80px;
}
.hero-metrics {
    display: flex; align-items: center; justify-content: center; gap: 52px;
}
.metric { text-align: center; }
.metric-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}
.metric-symbol {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.metric-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 8px;
}
.metric-divider {
    width: 1px; height: 44px;
    background: var(--border);
}

/* ============================================= */
/*  SECTIONS                                     */
/* ============================================= */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}
.section-dark {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-label {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 48px;
}
.label-line {
    width: 36px; height: 1px;
    background: var(--gold);
}
.label-text {
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 56px;
}

/* ============================================= */
/*  THE FIRM                                     */
/* ============================================= */
.firm-content { max-width: 700px; }
.firm-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 24px;
    font-weight: 400;
}
.firm-facts {
    display: flex; align-items: center; gap: 44px;
    margin-top: 52px;
    padding-top: 52px;
    border-top: 1px solid var(--border);
}
.fact { text-align: left; }
.fact-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.fact-label {
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.fact-sep { width: 1px; height: 36px; background: var(--border); }

/* ============================================= */
/*  OUR EDGE                                     */
/* ============================================= */
.edge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.edge-card {
    background: var(--bg-secondary);
    padding: 44px 32px;
    transition: background var(--transition);
}
.edge-card:hover { background: var(--bg-card-hover); }
.edge-card:nth-child(4) { grid-column: 1 / 2; }
.edge-card:nth-child(5) { grid-column: 2 / 3; }

.edge-icon {
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.7;
}
.edge-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.edge-desc {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ============================================= */
/*  INVESTMENT PHILOSOPHY                        */
/* ============================================= */
.philosophy-quote {
    max-width: 660px;
    margin-bottom: 64px;
    padding-left: 24px;
    border-left: 2px solid var(--gold-dim);
}
.philosophy-quote p {
    font-family: var(--font-body);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-style: italic;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.7;
    letter-spacing: 0.01em;
}
.principles { display: flex; flex-direction: column; gap: 32px; max-width: 660px; }
.principle {
    display: flex; gap: 20px; align-items: flex-start;
}
.principle-accent {
    width: 2px; min-height: 100%; flex-shrink: 0;
    background: rgba(201,168,76,0.1);
    border-radius: 1px;
    transition: background var(--transition);
}
.principle:hover .principle-accent { background: var(--gold); }
.principle-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.principle-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================= */
/*  TALENT HERO                                  */
/* ============================================= */
.talent-hero {
    position: relative;
    padding: 200px 0 100px;
    text-align: center;
    overflow: hidden;
}
.talent-hero-content { position: relative; z-index: 1; }
.talent-hero .section-label { justify-content: center; margin-bottom: 32px; }
.talent-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.talent-hero-sub {
    max-width: 540px;
    margin: 0 auto 40px;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.85;
}

/* ============================================= */
/*  LOGOS MARQUEE                                */
/* ============================================= */
.logos-section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-deep);
}
.logos-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 36px;
}
.logos-track {
    overflow: hidden;
    position: relative;
}
.logos-track::before,
.logos-track::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.logos-track::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.logos-track::after { right: 0; background: linear-gradient(270deg, var(--bg-deep), transparent); }
.logos-slide {
    display: flex; gap: 60px; align-items: center;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}
.logo-item {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.18);
    white-space: nowrap;
    transition: color 0.6s;
    user-select: none;
}
.logo-item:hover { color: rgba(255,255,255,0.35); }
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================= */
/*  THE PROCESS                                  */
/* ============================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.process-step { position: relative; }
.step-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    color: rgba(201,168,76,0.15);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.step-line {
    width: 28px; height: 1px;
    background: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}
.step-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.step-desc {
    font-size: 0.8125rem;
    line-height: 1.85;
    color: var(--text-muted);
}

/* ============================================= */
/*  APPLICATION FORM                             */
/* ============================================= */
.form-intro {
    max-width: 620px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 48px;
}
.application-form { max-width: 720px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-full { margin-bottom: 20px; }

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.required { color: var(--gold); }
.optional {
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.5625rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-primary);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    padding: 14px 16px;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
    width: 100%;
    border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.45;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(201,168,76,0.35);
    background: rgba(255,255,255,0.03);
}

.select-wrapper { position: relative; }
.select-wrapper::after {
    content: '▾';
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.6875rem;
}
.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 40px;
}
select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
.char-count {
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
    letter-spacing: 0.05em;
}

/* ============================================= */
/*  FOOTER                                       */
/* ============================================= */
.footer {
    padding: 80px 0 48px;
    border-top: 1px solid var(--border);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 56px;
}
.footer-logo { height: 72px; width: auto; margin-bottom: 16px; opacity: 0.7; mix-blend-mode: lighten; }
.footer-tagline {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-links { display: flex; gap: 64px; }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}
.footer-legal p {
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.footer-disclaimer p {
    font-size: 0.625rem;
    color: rgba(92,92,110,0.5);
    line-height: 1.75;
    max-width: 480px;
}

/* ============================================= */
/*  SCROLL REVEAL ANIMATION                      */
/* ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/*  RESPONSIVE                                   */
/* ============================================= */
@media (max-width: 900px) {
    .edge-grid { grid-template-columns: repeat(2, 1fr); }
    .edge-card:nth-child(4) { grid-column: auto; }
    .edge-card:nth-child(5) { grid-column: auto; }
    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 24px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(5,5,7,0.97);
        backdrop-filter: blur(24px);
        padding: 32px; gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .hero { min-height: auto; padding: 140px 0 80px; }
    .hero-metrics { flex-direction: column; gap: 28px; }
    .metric-divider { width: 40px; height: 1px; }
    .hero-logo { width: 88px; margin-bottom: 36px; }
    .firm-facts { flex-direction: column; align-items: flex-start; gap: 24px; }
    .fact-sep { width: 40px; height: 1px; }
    .edge-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 32px; }
}
