.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.25s ease;
    color: var(--ink-muted);
}

/* Floating Card Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--bg);
    min-width: 180px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 6px;
    box-shadow: 0 12px 24px -6px rgba(18, 18, 16, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

/* Links inside the dropdown */
.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--ink-soft);
    border-radius: 2px;
    transition: all 0.15s ease;
    position: static; /* Override parent underline pseudo-elements */
}

.dropdown-menu a::after {
    display: none; /* Removes any conflicting global link underlines */
}

.dropdown-menu a:hover {
    background: var(--bg-alt);
    color: var(--ink);
    transform: none;
}

/* Hover States (Triggers the smooth fade-in and slide) */
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--ink);
}

/* ───────── FINANCE BOX ───────── */
.finance-box {
    background: var(--bg-alt);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: clamp(40px, 6vw, 80px); /* Matches the generous inner spacing from the image container */
    max-width: 1200px;              /* Expands the box width to match your team section container */
    margin: 0 auto;
}

.finance-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 20px;
}

.finance-title em {
    font-style: italic;
    color: var(--accent);
}

.finance-text {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    font-weight: 300;
    max-width: 800px; /* Keeps the text line-length readable inside the wider box */
}

.finance-text .emphasis {
    color: var(--ink);
    font-weight: 400;
}