/* ==========================================================================
   RESUME MODULE — TAIILORED FOR CMCGILL.ME
   Aesthetic: Dark Industrial / Antique Brass Accent / High Contrast Typography
   ========================================================================== */

/* Global Typographic Variables & Base Styles */
:root {
    --bg-dark-industrial: #121416;     /* Deep charcoal background */
    --surface-industrial: #1a1d20;    /* Card/Section background */
    --brass-accent: #c5a059;          /* Antique brass for headers & accents */
    --brass-muted: #96743b;           /* Muted brass for structural borders */
    --text-high-contrast: #f4f4f5;    /* Crisp off-white for primary text */
    --text-muted: #a1a1aa;            /* Soft gray for secondary metadata */
    
    --font-heading: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
}

/* Base structural adjustments for the layout */
body {
    background-color: var(--bg-dark-industrial);
    color: var(--text-high-contrast);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Layout Container */
.resume-container {
    max-width: 1150px;
    margin: 0 auto;
    margin-top: 3rem;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

/* Cinematic Header Styling */
.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.resume-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 0.4rem 0;
    letter-spacing: -0.03em;
    color: var(--text-high-contrast);
}

.resume-header .subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brass-accent);
    margin: 0;
}

/* Technical Contact Info Deck */
.resume-header .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    text-align: right;
}

.resume-header .contact-info p {
    margin: 0;
    color: var(--text-muted);
}

.resume-header .contact-info a {
    color: var(--text-high-contrast);
    text-decoration: none;
    transition: color 0.2s ease;
}

.resume-header .contact-info a:hover {
    color: var(--brass-accent);
}

.resume-header .contact-info i {
    color: var(--brass-accent);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Linear Gradient Antique Brass Separator */
.brass-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brass-accent), transparent);
    margin: 2.5rem 0;
    opacity: 0.8;
}

/* Generic Section Typography */
.resume-section h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--brass-accent);
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* Executive Summary Box */
.summary-section p {
    font-size: 1.1rem;
    color: var(--text-high-contrast);
    max-width: 90ch;
    margin: 0;
}

/* Modern Asymmetric 2-Column Grid */
.grid-2col {
    display: grid;
    grid-template-columns: 2.25fr 1fr; /* Heavier weighting for the experience timeline */
    gap: 4rem;
    margin-top: 2.5rem;
}

/* Left Column: Chronological Experience Timeline */
.experience-section .job-entry {
    margin-bottom: 2.5rem;
    position: relative;
}

.experience-section .job-entry:last-child {
    margin-bottom: 0;
}

.experience-section .job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.experience-section .job-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-high-contrast);
}

.experience-section .job-date {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brass-accent);
    white-space: nowrap;
    background: rgba(197, 160, 89, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.experience-section .company {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0 0 0.75rem 0;
}

.experience-section ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;
}

.experience-section ul li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.experience-section ul li:last-child {
    margin-bottom: 0;
}

/* Custom list items utilizing a clean brass square marker instead of generic dots */
.experience-section ul li::before {
    content: "■";
    position: absolute;
    left: -1.25rem;
    color: var(--brass-muted);
    font-size: 0.6rem;
    top: 2px;
}

/* Right Column: Industrial Technical Competency Sidebar */
.skills-section .skills-category {
    margin-bottom: 2rem;
    background: var(--surface-industrial);
    padding: 1.25rem;
    border-radius: 4px;
    border-left: 3px solid var(--brass-accent);
}

.skills-section .skills-category:last-child {
    margin-bottom: 0;
}

.skills-section .skills-category h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.75rem 0;
    color: var(--text-high-contrast);
}

.skills-section .skills-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skills-section .skills-category li {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.skills-section .skills-category strong {
    color: var(--text-high-contrast);
    font-weight: 600;
}

/* Responsive Structural Breakpoints */
@media (max-width: 900px) {
    .grid-2col {
        grid-template-columns: 1fr; /* Collapses columns gracefully into a single elegant stack */
        gap: 3rem;
    }
}

@media (max-width: 650px) {
    .resume-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .resume-header .contact-info {
        text-align: left;
    }
    
    .experience-section .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .resume-header h1 {
        font-size: 2.5rem;
    }
}