/* ============================================
   Related Holdings - Refined Brutalist Finance
   "Bloomberg meets Monocle" aesthetic
   ============================================ */

/* CSS Variables - Design System */
:root {
    /* Typography */
    --font-display: 'Syne', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Color Palette - "Midnight Brass" */
    --color-ink: #0a0a0f;
    --color-ink-light: #141419;
    --color-paper: #f7f5f0;
    --color-paper-dark: #ebe8e1;
    --color-brass: #c9a227;
    --color-brass-light: #d4b44a;
    --color-brass-muted: #8b7355;
    --color-slate: #2d3436;
    --color-slate-light: #404447;

    /* Functional colors */
    --color-text-primary: var(--color-ink);
    --color-text-secondary: #5a5a5a;
    --color-text-muted: #8a8a8a;
    --color-text-inverse: var(--color-paper);
    --color-border: rgba(10, 10, 15, 0.1);
    --color-border-light: rgba(247, 245, 240, 0.15);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    /* Layout */
    --container-width: 1400px;
    --container-narrow: 900px;
    --header-height: 80px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

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

/* Typography utilities */
.mono-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-label {
    display: inline-block;
    color: var(--color-brass);
    margin-bottom: var(--space-md);
}

.accent {
    color: var(--color-brass);
}

strong {
    font-weight: 700;
    color: var(--color-ink);
}

/* ============================================
   Link Reveal Animation
   ============================================ */
.link-reveal {
    position: relative;
    display: inline-block;
}

.link-reveal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-brass);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.link-reveal:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-ink);
    color: var(--color-paper);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-brass);
    transform: translateX(-101%);
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

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

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--color-brass);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    background: #b8922a;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-paper);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.nav-link:hover {
    opacity: 1;
}

.nav .btn-primary {
    background: transparent;
    border: 1px solid var(--color-paper);
    color: var(--color-paper);
}

.nav .btn-primary:hover {
    background: var(--color-paper);
    color: var(--color-ink);
}

.nav .btn-primary::before {
    display: none;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-paper);
    transition: all var(--transition-normal);
}

.menu-toggle.active .menu-bar:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.active .menu-bar:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-paper);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-normal), transform var(--transition-normal), color var(--transition-fast);
}

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

.mobile-menu.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

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

.mobile-menu-footer {
    margin-top: var(--space-2xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-menu-footer {
    opacity: 1;
}

.mobile-menu-footer .mono-text {
    color: var(--color-brass-muted);
}


/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.6) 50%,
        rgba(10, 10, 15, 0.85) 100%
    );
}

/* Technical grid overlay - adds structure/precision feel */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.hero-kicker .mono-text {
    color: var(--color-brass-muted);
}

.vertical-line {
    width: 1px;
    height: 32px;
    background: var(--color-brass);
}

.hero-headline {
    margin-bottom: var(--space-lg);
}

.headline-row {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 10rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--color-paper);
    text-transform: uppercase;
}

.headline-row.accent {
    color: var(--color-brass);
}

.typewriter {
    border-right: 3px solid var(--color-paper);
    animation: blink-cursor 0.8s step-end infinite;
}

.typewriter.done {
    border-right: none;
    animation: none;
}

@keyframes blink-cursor {
    0%, 100% { border-color: var(--color-paper); }
    50% { border-color: transparent; }
}

.hero-statement {
    font-family: var(--font-body);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(247, 245, 240, 0.7);
    max-width: 500px;
}


/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--space-3xl) 0;
    background: var(--color-paper);
}

.about-grid {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
}

.about-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-ink);
    margin-bottom: var(--space-xl);
}

.about-text p {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--color-brass);
}

/* ============================================
   Investments Section
   ============================================ */
.investments-section {
    padding: var(--space-3xl) 0 0 0;
    background: var(--color-ink);
    overflow: hidden;
}

.investments-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.investments-header .section-label {
    color: var(--color-brass-muted);
}

.investments-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-paper);
}

.investments-subtext {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brass);
    margin-top: var(--space-xl);
    opacity: 0.8;
}

/* Investment Rows Layout */
.investment-rows {
    display: flex;
    flex-direction: column;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

.investment-row {
    display: grid;
    grid-template-columns: 450px 1fr;
    min-height: 300px;
    border-top: 1px solid var(--color-border-light);
    transition: background var(--transition-normal);
}

.investment-row:last-child {
    border-bottom: 1px solid var(--color-border-light);
}

.investment-row-reverse {
    grid-template-columns: 1fr 450px;
}

.investment-row-reverse .investment-summary {
    order: 2;
    border-left: 1px solid var(--color-border-light);
}

.investment-row-reverse .investment-carousel-wrapper {
    order: 1;
}

/* Investment Summary - The "Square" Box */
.investment-summary {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background var(--transition-normal);
    position: relative;
    z-index: 2;
}

/* Brass bar that slides in from left on hover */
.investment-summary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60px;
    background: var(--color-brass);
    transition: transform var(--transition-normal);
    transform-origin: center;
}

.investment-row:hover .investment-summary::before {
    transform: translateY(-50%) scaleY(1);
}

/* For reversed rows, brass bar appears on right side */
.investment-row-reverse .investment-summary::before {
    left: auto;
    right: 0;
}

/* Add a subtle right border to the first column for structure */
.investment-row:not(.investment-row-reverse) .investment-summary {
    border-right: 1px solid var(--color-border-light);
}

.investment-row:hover .investment-summary {
    background: var(--color-ink-light);
}

.investment-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-sm);
    opacity: 0.7;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.investment-row:hover .investment-icon {
    opacity: 1;
    transform: translateY(-5px);
}

.investment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.investment-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-paper);
    margin-bottom: var(--space-xs);
    transition: color var(--transition-normal);
}

.investment-row:hover .investment-title {
    color: var(--color-brass);
}

.investment-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(247, 245, 240, 0.6);
    margin-bottom: var(--space-md);
    max-width: 100%;
    transition: color var(--transition-normal);
}

.investment-row:hover .investment-description {
    color: rgba(247, 245, 240, 0.85);
}

.investment-label {
    font-size: 0.7rem;
    color: var(--color-brass-muted);
    opacity: 0.5;
}

/* Investment Logo Grid (Static) */
.investment-logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--color-ink);
}

.investment-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: var(--space-sm);
    transition: transform var(--transition-normal);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Bloomberg Style: grayscale + invert for white logos on black */
    filter: grayscale(100%) invert(1) contrast(1.5) brightness(1.5);
    mix-blend-mode: screen;
    opacity: 0.7;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

/* For logos that are already white/light - use lighten blend to hide white bg */
.logo-item.logo-white img {
    filter: none !important;
    mix-blend-mode: lighten !important;
    opacity: 1;
}

/* For logos that need to be larger */
.logo-item.logo-large img {
    transform: scale(1.4);
}

/* For logos that need vertical alignment adjustment */
.logo-item.logo-align-up img {
    transform: translateY(-8px);
}

.logo-item.logo-large.logo-align-up img {
    transform: scale(1.4) translateY(-8px);
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Hover Effects */
.investment-row:hover .logo-item img {
    opacity: 0.9;
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    padding: var(--space-2xl) 0;
    background: var(--color-paper-dark);
}

.process-section .container {
    position: relative;
}

.process-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.process-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-ink);
}

/* Grid: 3 cards + 2 dividers, all aligned at top */
.process-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Vertical dividers between columns */
.process-divider {
    width: 1px;
    background: var(--color-ink);
    opacity: 0.08;
    margin: 0 var(--space-lg);
    align-self: stretch;
}

.process-step {
    position: relative;
    padding: var(--space-lg);
    background: var(--color-paper);
    border: 1px solid var(--color-border);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.process-step:hover {
    border-color: var(--color-brass);
    box-shadow: 0 20px 60px rgba(10, 10, 15, 0.08);
}

/* Card header row: Number LEFT, Metadata RIGHT */
.process-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

/* Numbers: Architectural outline, anchored top-left */
.process-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    /* Thin outline stroke - architectural precision */
    color: transparent;
    -webkit-text-stroke: 1px var(--color-brass);
    text-stroke: 1px var(--color-brass);
    letter-spacing: -0.02em;
    transition: -webkit-text-stroke-color var(--transition-normal);
}

.process-step:hover .process-number {
    -webkit-text-stroke-color: var(--color-brass-light);
}

/* Metadata tags: Top-right pill styling */
.process-meta {
    font-size: 0.625rem;
    color: var(--color-brass-muted);
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border: 1px solid var(--color-brass-muted);
    border-radius: 2px;
    opacity: 0.7;
    transition: opacity var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal);
}

.process-step:hover .process-meta {
    opacity: 1;
    color: var(--color-brass);
    border-color: var(--color-brass);
}

.process-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: var(--space-sm);
}

.process-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Horizontal "Skewer" Circuit Line through numbers */
.process-circuit-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 1px;
    background: var(--color-brass);
    opacity: 0;
    /* Position it to pass through the number centers */
    margin-top: calc(var(--space-2xl) + var(--space-lg) + 1.25rem + var(--space-lg));
}

/* Animate line drawing from left to right */
.process-circuit-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-brass);
    transition: width 1.2s var(--ease-out-expo);
}

.process-section.circuit-visible .process-circuit-line {
    opacity: 0.3;
}

.process-section.circuit-visible .process-circuit-line::before {
    width: 100%;
}

/* ============================================
   Working With Us Section
   ============================================ */
.working-section {
    padding: var(--space-2xl) 0;
    background: var(--color-paper);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.working-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
}

.working-quote {
    position: relative;
}

.working-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
}

.quote-footer {
}

.quote-footer .mono-text {
    color: var(--color-brass);
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    background: var(--color-ink);
    width: 100%;
    padding-bottom: var(--space-3xl);
}

.team-header {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.team-header .section-label {
    color: var(--color-brass-muted);
}

.team-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-paper);
}

.team-subtext {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(247, 245, 240, 0.7);
    max-width: 700px;
    margin: var(--space-lg) auto 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--color-border-light);
    max-width: var(--container-width);
    margin: 0 auto;
    border: 1px solid var(--color-border-light);
}

.team-member {
    position: relative;
    background: var(--color-ink);
    overflow: hidden;
}

.team-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
    transition: filter 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.team-member:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* Info section - always visible below image */
.team-info {
    padding: var(--space-lg);
    background: var(--color-ink);
    border-top: 1px solid var(--color-border-light);
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-paper);
    margin-bottom: var(--space-xs);
}

.team-role {
    color: var(--color-brass);
}

/* Bio section - expands below name on hover */
.team-bio {
    max-height: 0;
    overflow: hidden;
    padding: 0 var(--space-lg);
    background: var(--color-ink);
    transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
}

.team-member:hover .team-bio {
    max-height: 200px;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.team-bio p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(247, 245, 240, 0.8);
    margin: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--space-2xl) 0;
    background: var(--color-paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.contact-left {
    padding: var(--space-md) 0;
}

.contact-left-content {
    max-width: 400px;
}

.contact-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
}

.contact-email {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--color-ink);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.contact-email:hover {
    opacity: 1;
}

.contact-right {
    padding: var(--space-md) 0;
}

.contact-form {
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--space-sm) 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    outline: none;
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-brass);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-text-muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-ink);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border-light);
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-tagline {
    color: var(--color-brass-muted);
    margin-top: var(--space-xs);
}

.footer-address {
    color: rgba(247, 245, 240, 0.4);
    margin-top: 0.25rem;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: var(--space-sm);
    color: var(--color-paper);
    opacity: 0.4;
    border: 1px solid rgba(247, 245, 240, 0.15);
    transition: opacity var(--transition-fast), border-color var(--transition-fast);
    font-size: 0.85rem;
}

.footer-social:hover {
    opacity: 1;
    border-color: var(--color-brass);
    color: var(--color-brass);
}

.footer-nav {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-paper);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.footer-link:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-copyright {
    color: rgba(247, 245, 240, 0.4);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children */
.reveal-on-scroll.visible:nth-child(1) { transition-delay: 0s; }
.reveal-on-scroll.visible:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll.visible:nth-child(3) { transition-delay: 0.2s; }
.reveal-on-scroll.visible:nth-child(4) { transition-delay: 0.3s; }
.reveal-on-scroll.visible:nth-child(5) { transition-delay: 0.4s; }

/* ============================================
   Grid Drawing Animation
   ============================================ */
.has-grid {
    position: relative;
}

.section-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.grid-line {
    stroke: var(--color-brass);
    stroke-width: 1;
    fill: none;
    opacity: 0;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition:
        stroke-dashoffset 1s var(--ease-out-expo),
        opacity 0.3s ease;
}

.grid-rect {
    stroke: var(--color-brass);
    stroke-width: 0.5;
    fill: none;
    opacity: 0;
    stroke-dasharray: 4000;
    stroke-dashoffset: 4000;
    transition:
        stroke-dashoffset 1.4s var(--ease-out-expo),
        opacity 0.3s ease;
}

/* Stagger the line animations */
.grid-top { transition-delay: 0s; }
.grid-left { transition-delay: 0.1s; }
.grid-bottom { transition-delay: 0.2s; }
.grid-right { transition-delay: 0.3s; }
.grid-center { transition-delay: 0.25s; }
.grid-rect { transition-delay: 0.4s; }

/* When grid is visible, draw the lines */
.has-grid.grid-visible .grid-line,
.has-grid.grid-visible .grid-rect {
    stroke-dashoffset: 0;
    opacity: 0.15;
}

/* Dark sections need brighter grid */
.investments-section.grid-visible .grid-line,
.investments-section.grid-visible .grid-rect,
.team-section.grid-visible .grid-line,
.team-section.grid-visible .grid-rect {
    opacity: 0.2;
}

/* Content waits for grid to draw first */
.has-grid .reveal-on-scroll {
    transition-delay: 0.5s;
}

.has-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.6s; }
.has-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.7s; }
.has-grid .reveal-on-scroll:nth-child(4) { transition-delay: 0.8s; }
.has-grid .reveal-on-scroll:nth-child(5) { transition-delay: 0.9s; }

/* Hide grid on mobile for performance */
@media (max-width: 768px) {
    .section-grid {
        display: none;
    }

    .has-grid .reveal-on-scroll {
        transition-delay: 0s;
    }
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .investment-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .investment-row-reverse {
        grid-template-columns: 1fr;
    }

    .investment-row:not(.investment-row-reverse) .investment-summary,
    .investment-row-reverse .investment-summary {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid var(--color-border-light);
    }

    .investment-summary {
        padding: var(--space-lg);
        text-align: center;
        align-items: center;
    }

    .logo-item {
        width: 150px;
        height: 85px;
    }

    .investment-logos-wrapper {
        padding: var(--space-lg) var(--space-md);
    }

    .process-grid {
        gap: var(--space-lg);
    }

    .team-image-wrapper {
        aspect-ratio: 1 / 1;
    }

    /* Bio always visible on touch devices */
    .team-bio {
        max-height: none;
        padding: var(--space-md) var(--space-lg) var(--space-lg);
    }

    .team-bio p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 6rem;
    }

    .nav-links,
    .nav .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-bottom: var(--space-xl);
    }

    .about-grid {
        text-align: center;
    }

    /* Investment rows - mobile adjustments */
    .investment-row-reverse .investment-summary {
        order: 1;
    }

    .investment-row-reverse .investment-logos-wrapper {
        order: 2;
    }

    .investment-logos-wrapper {
        padding: var(--space-md);
    }

    .logo-item {
        width: 120px;
        height: 70px;
    }

    .investment-logos-grid {
        gap: var(--space-md);
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Hide dividers and circuit on mobile */
    .process-divider,
    .process-circuit-line {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .team-image-wrapper {
        aspect-ratio: 4 / 3;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .contact-left,
    .contact-right {
        padding: var(--space-md) 0;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2.5rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .headline-row {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .about-headline,
    .investments-headline,
    .process-headline,
    .team-headline,
    .contact-headline {
        font-size: 2rem;
    }

    .process-number {
        font-size: 2rem;
    }

    .process-meta {
        font-size: 0.55rem;
        padding: 3px 6px;
    }

    .investment-title {
        font-size: 1.35rem;
    }

    .investment-description {
        font-size: 0.9rem;
    }

    .logo-item {
        width: 90px;
        height: 55px;
    }

    .process-step {
        padding: var(--space-lg);
    }
}

/* ============================================
   Bloomberg Scroll Indicator
   ============================================ */
.scroll-indicator {
    position: fixed;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 100;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--color-brass-muted);
    opacity: 0.4;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
}

.scroll-dot:hover {
    opacity: 0.8;
    background: var(--color-brass);
}

/* Active state - expands to vertical bar */
.scroll-dot.active {
    height: 32px;
    background: var(--color-brass);
    opacity: 1;
}

/* Tooltip on hover */
.scroll-dot::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-brass);
    background: var(--color-ink);
    padding: 4px 8px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border-light);
}

.scroll-dot:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Hide on mobile */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-brass { color: var(--color-brass); }
