/* =========================================
   DESIGN SYSTEM: "The Philosopher-Engineer"
   Aesthetic: High-Contrast, Institutional, Strategic
   Palette: Deep Navy (#02042D) & Brushed Gold (#D4B980)
   ========================================= */

:root {
    /* --- COLOR PALETTE --- */
    /* Primary Colors */
    --navy-deep: #02042D;      /* Main Brand Color */
    --navy-light: #151e32;     /* Secondary Dark */
    --charcoal: #1B1E23;       /* Dark grey text/accents */
    
    /* Accents */
    --gold: #D4B980;           /* Brushed Gold */
    --gold-hover: #e5c98c;     
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #F7F7F5;      /* Warm background tone */
    --stone-grey: #C8C8C8;     
    --text-muted: #6b7280;     

    /* --- TYPOGRAPHY --- */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
    
    /* --- LAYOUT --- */
    --container-width: 1200px;
}

/* --- RESET & BASE STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* --- UTILITIES --- */
.container { 
    max-width: var(--container-width); 
    margin: 0 auto; 
    padding: 0 2rem; 
    width: 100%;
}

.uppercase { 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    font-size: 0.75rem; 
    font-weight: 700; 
    display: block; 
    margin-bottom: 1rem; 
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy-deep); }

/* --- NAVIGATION (White Header) --- */
nav { 
    padding: 1rem 0; 
    background-color: var(--white); 
    border-bottom: 1px solid #e5e7eb; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); 
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Logo Styling */
.logo { display: flex; align-items: center; border: none; padding: 0; }
.logo img { height: 45px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; }
.nav-links a { 
    margin-left: 2rem; 
    color: var(--navy-deep); 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-links a:hover { color: var(--gold); }

/* --- HERO SECTION --- */
.hero { 
    background-color: var(--navy-deep);
    /* Dark Gradient Overlay + Wireframe Image */
    background-image: 
        linear-gradient(to bottom, rgba(2, 4, 45, 0.85), rgba(2, 4, 45, 0.98)),
        url('hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    min-height: 60vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 4rem 0; 
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-tag {
    color: var(--gold) !important;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero h1 { 
    font-size: clamp(2.5rem, 4.5vw, 4rem); 
    font-weight: 600; 
    line-height: 1.15; 
    color: var(--white); 
    margin: 0 auto 1.5rem auto; 
    max-width: 900px; 
    letter-spacing: -0.02em; 
    text-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

.glow-text {
    color: var(--white);
    text-shadow: 0 0 20px rgba(212, 185, 128, 0.4); 
}

.hero p { 
    font-size: 1.25rem; 
    color: #e5e7eb; 
    line-height: 1.6; 
    max-width: 720px; 
    margin: 0 auto 2.5rem auto; 
    font-weight: 400; 
    opacity: 1; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); 
}

/* --- PORTAL HERO CARD SECTION --- */
.portal-hero-section {
    padding: 6rem 0 4rem 0;
    background-color: var(--white);
}

.portal-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 Split */
    background-color: var(--navy-deep);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(2, 4, 45, 0.3);
}

/* Left: Hook */
.portal-content-left {
    padding: 4rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes partner logo to bottom */
    border-right: 1px solid rgba(255,255,255,0.05);
}

.portal-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.portal-desc {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
}

/* Right: Roadmap */
.portal-content-right {
    padding: 4rem;
    color: var(--white);
    background-color: var(--navy-light);
    /* Texture Overlay */
    background-image: 
        linear-gradient(rgba(21, 30, 50, 0.95), rgba(21, 30, 50, 0.98)),
        url('digital-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

/* Phase Styling */
.phase-block { display: flex; flex-direction: column; }

.phase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.phase-badge {
    background: rgba(212, 185, 128, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-size: 0.7rem;
    padding: 2px 6px;
    font-family: var(--font-mono);
    border-radius: 2px;
}

.phase-title {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
}

.phase-sub {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phase-list { list-style: none; margin: 0; padding: 0; }

/* Fixed Mobile List Styling */
.phase-list li {
    font-size: 0.95rem;
    color: #d1d5db;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start; /* Aligns to top of text */
    line-height: 1.4;
}

.phase-list i {
    font-size: 0.9rem;
    margin-right: 15px;
    min-width: 20px; /* Prevents squishing */
    margin-top: 4px; /* Visual alignment with text */
}

/* --- CAPABILITIES / ASSET GRID --- */
.capabilities-section {
    padding: 4rem 0 6rem 0;
    background-color: var(--white);
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.asset-card {
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    transition: all 0.3s ease;
    background: var(--white);
}

.asset-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.05);
}

.asset-title {
    font-size: 1.1rem;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.asset-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* --- DEFINITION SECTION --- */
.definition-section {
    background-color: var(--navy-deep);
    color: var(--white);
    padding: 8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.definition-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}
.definition-lead {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    border-left: 2px solid var(--gold);
    padding-left: 1.5rem;
}

/* Pillars */
.pillars-container { display: flex; flex-direction: column; gap: 2.5rem; }
.pillar-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}
.pillar-item:last-child { border-bottom: none; }

.pillar-number {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.9rem;
    margin-right: 2rem;
    margin-top: 0.3rem;
}
.pillar-title { color: var(--white); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.pillar-desc { font-size: 0.95rem; margin-bottom: 0; line-height: 1.6; color: #9ca3af; }

/* --- BUTTONS --- */
.btn-gold { 
    display: inline-block; 
    background-color: var(--gold); 
    color: var(--navy-deep); 
    padding: 1rem 2rem; 
    font-weight: 700; 
    font-size: 0.9rem; 
    border-radius: 2px; 
    text-align: center;
    letter-spacing: 0.02em;
}
.btn-gold:hover { background-color: var(--gold-hover); }

.btn-navy { 
    display: inline-block; 
    background-color: var(--navy-deep); 
    color: var(--white); 
    padding: 1rem 2rem; 
    font-weight: 700; 
    font-size: 0.9rem; 
    border-radius: 2px; 
    text-align: center;
    letter-spacing: 0.02em;
}
.btn-navy:hover { opacity: 0.9; }

.btn-outline {
    display: inline-block;
    border: 1px solid var(--stone-grey);
    color: var(--stone-grey);
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    border-radius: 2px;
    transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* --- CARD SECTION --- */
.card-section {
    background-color: var(--white);
    padding: 8rem 0;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
}

.business-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.business-card {
    background: linear-gradient(135deg, var(--navy-deep) 0%, #050a30 100%);
    width: 100%;
    max-width: 550px;
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 185, 128, 0.3);
    box-shadow: 0 20px 40px -10px rgba(2, 4, 45, 0.4);
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
}

.card-headshot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.card-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.card-title {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.role-label {
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.role-company {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.contact-grid { display: flex; flex-direction: column; gap: 0.8rem; }

.contact-link {
    color: #d1d5db;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    transition: color 0.2s;
}
.contact-link:hover { color: var(--gold); }
.contact-link i { font-size: 0.8rem; width: 15px; text-align: center; }

.card-watermark {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 2rem;
    color: rgba(255,255,255,0.05);
    letter-spacing: -0.05em;
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    user-select: none;
}

/* Logo Utility */
.cc-logo { filter: brightness(0) invert(1); }

/* --- FOOTER --- */
footer { 
    background-color: var(--navy-deep); 
    padding: 6rem 0; 
    color: var(--stone-grey); 
    font-size: 0.9rem; 
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .portal-hero-card, .definition-grid, .asset-grid, .thesis-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    
    .portal-content-left { 
        border-right: none; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
    }
    
    .portal-content-left, .portal-content-right { 
        padding: 3rem 2rem; 
    }
    
    .hero h1 { font-size: 2.5rem; }
    
    .phase-block { margin-bottom: 2rem; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    
    .hero { 
        padding: 4rem 0; 
        min-height: 50vh; 
    }
    
    .business-card { padding: 2rem; }
    .card-header { flex-direction: column; text-align: center; }
    .card-footer { flex-direction: column; align-items: flex-start; }
    .card-watermark { display: none; }
    
    .portal-content-left, .portal-content-right { 
        padding: 2.5rem 1.5rem; 
    }
    
    .portal-title {
        font-size: 2rem;
    }
    
    .phase-list li {
        margin-bottom: 1rem;
    }
}