/* --- CSS Variables & Resets --- */
:root {
    --bg-dark: #050505;
    --bg-surface: #121212;
    --bg-surface-light: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #b5952f;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 400;
}

.highlight-serif {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-gold);
}

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

/* --- Buttons --- */
.btn-primary,
.btn-primary-outline,
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-primary-outline:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

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

.btn-secondary:hover {
    border-color: var(--text-primary);
}

.btn-primary.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand span {
    font-weight: 300;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary-outline) {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links a:not(.btn-primary-outline):hover {
    color: var(--accent-gold);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: var(--transition-smooth);
    z-index: 99;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .mobile-link {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to right, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.92) 100%), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?q=80&w=2000&auto=format&fit=crop') center/cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    pointer-events: none;
    z-index: 5;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(5, 5, 5, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 32px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(to right, #D4AF37, #FDF5A9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.glow-btn {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    align-self: flex-start;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-trust strong {
    color: var(--text-primary);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -12px;
}

.avatars img:first-child {
    margin-left: 0;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
}

.hero-visual::before {
    display: none;
}

.visual-backdrop {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    width: 85%;
    aspect-ratio: 3/4;
    border: 1px solid var(--accent-gold);
    background: transparent;
    border-radius: 2px;
    z-index: 0;
}

.image-wrapper {
    position: relative;
    width: 85%;
    aspect-ratio: 3/4;
    border-radius: 2px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.7);
    transition: transform 0.6s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1) brightness(0.9);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.8) 0%, transparent 40%);
    pointer-events: none;
}

.premium-glass {
    position: absolute;
    bottom: -20px;
    left: -40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-gold);
    padding: 24px 32px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    z-index: 2;
    transition: all 0.3s ease;
}

.premium-glass:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-primary);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    display: block;
}

/* --- Sections Common --- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.title-line {
    position: relative;
    width: 250px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    margin-top: 40px;
    opacity: 0.8;
}

.title-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--bg-surface);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.center .title-line {
    margin: 40px auto 0;
}

/* --- Pillars (The Wins) --- */
.pillars {
    background-color: var(--bg-dark);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.4), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 32px;
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.05);
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

.pillar-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-primary);
}

.pillar-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- Excellence (Leadership) --- */
.excellence {
    background: linear-gradient(to right, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.92) 100%), url('assets/james-leadership-bg.png') center/cover no-repeat fixed;
    padding: 120px 0;
    position: relative;
}

.excellence::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, rgba(5, 5, 5, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.excellence::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(5, 5, 5, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.excellence .section-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.excellence-left {
    position: relative;
    padding-right: 40px;
}

.excellence-left::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 250px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
    opacity: 0.8;
}

.excellence-left::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--bg-surface);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    z-index: 2;
}

.excellence-left .section-title,
.excellence-right .section-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.excellence-right {
    position: relative;
    padding-left: 20px;
}

.excellence-right::before {
    content: '“';
    position: absolute;
    top: -50px;
    left: -20px;
    font-size: 10rem;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    opacity: 0.1;
    line-height: 1;
    pointer-events: none;
}

.excellence-right .lead-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.excellence-right p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 0;
}

/* --- Philosophy --- */
/* --- Philosophy --- */
.philosophy {
    background-color: var(--bg-dark);
    padding: 0;
    position: relative;
    text-align: left;
}

.philosophy .section-container {
    padding-top: 100px;
    padding-bottom: 150px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-content {
    position: relative;
}

.philosophy-content::before {
    content: '“';
    position: absolute;
    top: -50px;
    left: -30px;
    font-size: 10rem;
    font-family: var(--font-serif);
    color: var(--accent-gold);
    opacity: 0.05;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.eyebrow {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.statement-title {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.statement-quote {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.8;
    margin: 30px 0;
    max-width: 100%;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.statement-author {
    color: var(--text-secondary);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.statement-author::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    vertical-align: middle;
    margin-right: 15px;
}

/* --- Growth Chart --- */
.growth-chart-container {
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.9));
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.chart-label {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-family: var(--font-serif);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.growth-chart {
    width: 100%;
    height: 250px;
    display: block;
    overflow: visible;
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Machine (The Deep Dive) --- */
.machine {
    background: radial-gradient(circle at top, var(--bg-surface) 0%, var(--bg-dark) 100%);
    padding: 0px 0 120px 0;
    position: relative;
}

.machine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, rgba(5, 5, 5, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.machine::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(5, 5, 5, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.machine .section-container {
    position: relative;
    z-index: 10;
}

.machine .section-title {
    font-size: 3.5rem;
}

.machine .section-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.step-card {
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    position: relative;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.9));
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.05);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-family: var(--font-serif);
    font-size: 10rem;
    color: var(--accent-gold);
    opacity: 0.03;
    line-height: 1;
    z-index: -1;
    transition: all 0.4s ease;
    background: none;
    border: none;
    padding: 0;
}

.step-card:hover .step-number {
    opacity: 0.08;
    transform: scale(1.05);
}

.step-title {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-weight: 400;
}

.step-card p {
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* --- Personal Profile --- */
.profile {
    background-color: var(--bg-dark);
    padding: 0 0 170px 0;
    position: relative;
    overflow: hidden;
}

.profile .section-container {
    padding-top: 0;
    padding-bottom: 0;
}

.profile-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.profile-image {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-left: 20px;
}

.image-frame {
    position: relative;
    border-radius: 4px;
    padding: 20px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    transform: translate(-15px, -15px);
    z-index: -1;
    opacity: 0.5;
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-surface);
    transform: translate(15px, 15px);
    z-index: -2;
}

.image-frame img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.02);
}

.signature-overlay {
    position: absolute;
    bottom: -15px;
    right: -30px;
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--accent-gold);
    opacity: 0.6;
    transform: rotate(-10deg);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    font-style: italic;
}

.profile-text .section-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.bio-content {
    padding-top: 30px;
}

.bio-content p.drop-cap::first-letter {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    color: var(--accent-gold);
    float: left;
    line-height: 0.8;
    margin-right: 15px;
    margin-top: 5px;
}

.bio-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.profile-credentials {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.credential-item {
    display: flex;
    flex-direction: column;
}

.cred-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.cred-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* --- Social Proof --- */
.social-proof {
    background: linear-gradient(to right, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.92) 100%), url('https://images.unsplash.com/photo-1556761175-4b46a572b786?q=80&w=2000&auto=format&fit=crop') center/cover fixed;
    padding: 100px 0;
    position: relative;
}

.social-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.social-proof::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.social-proof .section-container {
    position: relative;
    z-index: 10;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-heading {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 40px;
}

.testimonial-card blockquote {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 32px;
}

.testimonial-card cite {
    color: var(--text-secondary);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* --- Contact CTA --- */
.contact {
    background-color: var(--bg-dark);
    padding: 120px 24px 150px;
    position: relative;
    border-bottom: none;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-card {
    position: relative;
    background: linear-gradient(145deg, rgba(20,20,20,0.8), rgba(5,5,5,0.9));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 30px 0 50px;
}

.btn-massive {
    padding: 24px 50px;
    font-size: 1.2rem;
    letter-spacing: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.btn-arrow {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

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

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    padding: 60px 24px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer-brand h3 {
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.firm-name {
    margin-top: 8px;
    color: var(--accent-gold) !important;
}

.footer-contact-info {
    display: flex;
    gap: 16px;
    color: var(--text-secondary);
}

.footer-contact-info a {
    color: var(--text-secondary);
}

.footer-contact-info a:hover {
    color: var(--accent-gold);
}

.footer-legal {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: 4px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-header {
    margin-bottom: 32px;
    text-align: center;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container,
    .wins-grid,
    .pillars-grid,
    .excellence .section-container,
    .philosophy-grid,
    .steps-grid,
    .profile-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .excellence-left {
        padding-right: 0;
        text-align: center;
    }

    .excellence-left::before,
    .excellence-left::after {
        display: none;
    }

    .excellence-right {
        padding-left: 0;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title,
    .statement-title,
    .cta-title {
        font-size: 3rem;
    }

    .bio-content p.drop-cap::first-letter {
        font-size: 4rem;
    }

    .cta-card {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* --- Center All Mobile Content --- */
    .hero-content,
    .excellence-left,
    .excellence-right,
    .philosophy,
    .philosophy-content,
    .profile-text,
    .step-card,
    .pillar-card {
        text-align: center;
    }

    .hero-actions {
        align-items: center;
    }

    .title-line {
        margin-left: auto;
        margin-right: auto;
    }

    .pillar-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .statement-quote {
        text-align: center;
    }

    .statement-author {
        text-align: center;
    }

    .bio-content p.drop-cap::first-letter {
        float: none;
        display: inline-block;
        margin-right: 5px;
    }

    .hero-container {
        padding-top: 110px;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .stat-card {
        bottom: -30px;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        width: max-content;
        padding: 15px 25px;
    }

    .section-container {
        padding: 50px 24px;
    }

    .excellence {
        padding: 50px 0;
    }

    .philosophy .section-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .machine {
        padding: 0;
    }

    .profile {
        padding: 50px 0;
    }

    .social-proof {
        padding: 0;
    }

    .contact {
        padding: 50px 24px;
    }

    .section-title,
    .statement-title,
    .cta-title {
        font-size: 2.4rem;
    }

    .philosophy-content::before {
        font-size: 6rem;
        top: -30px;
        left: -10px;
    }

    .statement-quote {
        font-size: 1.15rem;
    }

    .growth-chart {
        height: 180px;
    }
    
    .chart-x-axis {
        font-size: 0.7rem;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .step-card {
        padding: 40px 20px;
    }

    .image-frame img {
        height: auto;
        aspect-ratio: 4/5;
    }

    .signature-overlay {
        font-size: 3.5rem;
        right: 0;
    }

    .profile-credentials {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .testimonial-card blockquote {
        font-size: 1.5rem;
    }

    .btn-massive {
        padding: 18px 30px;
        font-size: 1rem;
        width: 100%;
    }
}

/* Custom Image Styling for Excellence Section */
.excellence-image-wrapper {
    position: relative;
    margin-top: 50px;
    border-radius: 4px;
    padding: 8px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(5, 5, 5, 0.6));
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(212, 175, 55, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 95%;
    z-index: 10;
}

.excellence-image-wrapper:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.3);
}

.excellence-img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    display: block;
    filter: grayscale(15%) contrast(1.15) brightness(0.95);
    transition: filter 0.5s ease;
}

.excellence-image-wrapper:hover .excellence-img {
    filter: grayscale(0%) contrast(1.1) brightness(1.05);
}

.excellence-image-wrapper .img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.excellence-image-wrapper:hover .img-glow {
    opacity: 1;
}

@media (max-width: 992px) {
    .excellence-image-wrapper {
        max-width: 100%;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

/* ==========================================================================
   Advisor Banner Section
   ========================================================================== */
.advisor-banner-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.advisor-banner-section .section-container {
    padding-top: 0;
    padding-bottom: 0;
}

.advisor-banner-glow-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.advisor-banner-glow-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.02) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.advisor-banner-content {
    position: relative;
    z-index: 10;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.advisor-banner-content:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.advisor-flex-container {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    text-align: left;
}

.advisor-icon-box {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    transition: var(--transition-smooth);
    color: var(--accent-gold);
}

.advisor-banner-content:hover .advisor-icon-box {
    border-color: var(--accent-gold);
    transform: scale(1.05) rotate(3deg);
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.advisor-text-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.advisor-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.advisor-title .gold-text {
    color: var(--accent-gold);
}

.advisor-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 0;
}

.advisor-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    flex-shrink: 0;
}

.advisor-logo-box {
    flex-shrink: 0;
    padding: 0 16px;
}

.advisor-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.advisor-banner-content:hover .advisor-logo {
    opacity: 1;
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .advisor-banner-section {
        padding: 60px 0;
    }

    .advisor-banner-content {
        flex-direction: column;
        padding: 40px 32px;
        gap: 32px;
        text-align: center;
    }

    .advisor-flex-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .advisor-text-box {
        text-align: center;
    }

    .advisor-description {
        margin: 0 auto;
    }

    .advisor-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    }
}