/* 1. GLOBAL RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Segoe UI', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background-color: #f9f7f5;
}

.content-wrapper {
    width: 75%;
    max-width: 1250px;
    /* REDUCED: Spacing between Nav and Body (from 60px to 25px) */
    margin: 25px auto 60px auto; 
}

/* 2. PC ARCHITECTURE (Desktop) */
.hero-layout {
    display: flex;
    gap: 40px; /* Tightened gap between columns */
    align-items: stretch; /* Forces both columns to have equal height */
}

.portrait-column {
    /* REDUCED: Width of picture column to keep it from getting too tall (from 35% to 30%) */
    flex: 0 0 30%; 
}

.main-portrait-frame {
    width: 100%;
    height: 100%; /* Matches the height of the right panel */
    border: 1px solid #18453B;
    box-shadow: 20px 20px 0px rgba(24, 69, 59, 0.05); /* Adjusted shadow for smaller scale */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the frame height without distortion */
    display: block;
}

.narrative-column {
    flex: 1;
}

.profile-card {
    background: #ffffff;
    /* REDUCED: Internal padding (from 55px to 40px) */
    padding: 40px 45px; 
    border: 1px solid rgba(24, 69, 59, 0.1);
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.02);
    height: 100%; /* Ensures card fills the flex container */
}

.profile-header {
    width: 100%;
    margin-bottom: 25px; /* Tightened spacing */
}

.profile-header h1 {
    font-size: 2.1rem;
    color: #18453B;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.accent-line {
    width: 100%;
    height: 4px;
    background: #18453B;
    margin-top: 12px;
}

.profile-group { margin-bottom: 25px; }

.profile-label {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #18453B;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.profile-statement {
    font-size: 1.2rem; /* Slightly cinched for better density */
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background: #18453B;
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    transition: background 0.3s;
}

/* MOBILE REFACTOR (Remains largely the same, but inherits tighter variables) */
@media (max-width: 1024px) {
    .content-wrapper { width: 90%; margin-top: 20px; }
    .hero-layout { flex-direction: column; gap: 30px; }
    .portrait-column { width: 100%; }
    .main-portrait-frame { aspect-ratio: 1 / 1; }
    .profile-card { padding: 35px 25px; text-align: center; }
    .profile-header h1 { font-size: 1.6rem; }
    .profile-statement { text-align: left; }
    .btn-primary { width: 100%; }
}