/* A/* Reset & Base Styles */
:root {
    --primary-color: #002244;
    /* Deep Navy Blue */
    --secondary-color: #003366;
    /* Slightly lighter navy for interactions */
    --accent-color: #8899A6;
    /* Subtle Silver/Grey */
    --text-color: #333333;
    --light-text: #555555;
    --bg-light: #F5F5F7;
    /* Very light grey/off-white */
    --white: #ffffff;
    --border-color: #E1E1E1;
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --header-height: 90px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1100px;
    /* Slightly tighter container for readability */
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 100px 0;
    /* More vertical whitespace */
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    font-weight: 400;
    text-align: center;
    position: relative;
    border-bottom: none;
    padding-bottom: 0;
}

/* Elegant underline for section titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
    opacity: 0.3;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 55px;
    /* Adjusted for the new logo */
    width: auto;
}

.desktop-nav ul {
    display: flex;
    gap: 40px;
}

.desktop-nav a {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1px;
    /* Thinner lines */
    background-color: var(--primary-color);
    transition: 0.3s;
}

.mobile-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    position: relative;
    padding: 160px 0;
    /* More vertical space */
    min-height: 70vh;
    /* Taller */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f4f6f8;
    margin-top: var(--header-height);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Remove old watermark */
#hero::before {
    display: none;
}

@keyframes breathe {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -1px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    /* Space between words */
}

.word {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpWord 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* Stagger delays for each word */
.word:nth-child(1) {
    animation-delay: 0.1s;
}

.word:nth-child(2) {
    animation-delay: 0.2s;
}

.word:nth-child(3) {
    animation-delay: 0.3s;
}

.word:nth-child(4) {
    animation-delay: 0.4s;
}

.word:nth-child(5) {
    animation-delay: 0.5s;
}

.word:nth-child(6) {
    animation-delay: 0.6s;
}

.word:nth-child(7) {
    animation-delay: 0.7s;
}

.word:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes fadeInUpWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add a decorative line */
.hero-content::after {
    content: '';
    display: block;
    width: 0;
    /* Start width 0 for animation */
    height: 3px;
    background-color: var(--accent-color);
    margin: 40px auto 0;
    animation: expandLine 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    animation-delay: 1s;
    /* Wait for text */
}

@keyframes expandLine {
    to {
        width: 80px;
    }
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.value-card {
    padding: 40px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: transparent;
    text-align: left;
    transition: background-color 0.3s ease;
}

.value-card:hover {
    background-color: #f9fafb;
    /* Very subtle hover state */
}

.value-header {
    border: none;
    margin-bottom: 20px;
    padding: 0;
}

.value-header h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.8;
}

.wolf-watermark {
    display: none;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.team-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    /* Subtle border */
    border-radius: 4px;
    /* Minimal radius */
    overflow: hidden;
    box-shadow: none;
    /* No shadow by default */
    transition: border-color 0.3s ease;
}

.team-card:hover {
    border-color: var(--primary-color);
}

.team-img {
    width: 100%;
    height: 350px;
    /* Taller portrait aspect */
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    /* B&W photos for classic look */
    transition: filter 0.5s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0%);
    /* Color on hover */
}

.team-info {
    padding: 30px;
}

.team-info h3 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.4rem;
    font-weight: 400;
}

.team-role {
    display: block;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.team-info p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.7;
}

/* Investments Section */
.investments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.investment-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    height: 100%;
}

.logo-box {
    height: 160px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: none;
    /* Flat design */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    margin-bottom: 10px;
}

.logo-box:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--primary-color);
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.investment-item p {
    font-size: 0.9rem;
    color: var(--light-text);
    max-width: 90%;
    margin: 0 auto;
}

.separator {
    height: 1px;
    background-color: var(--border-color);
    margin: 60px auto;
    width: 100px;
    /* Small separator line */
}

.prior-investments-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: var(--bg-light);
    /* Subtle background for the collage */
    border-radius: 4px;
}

.prior-investments-container img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    mix-blend-mode: multiply;
    /* Blends nicely with the grey background */
    filter: grayscale(100%);
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    /* Dark footer */
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.disclaimer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }
}