/*
 * Anderix.com Styles
 * Author: David M. Anderson
 * Built with AI assistance (Claude, Anthropic)
 */

@import url('../brand.css');
@import url('../axe/axe.css');


/* ============================================
   NAV
   ============================================ */

.nav-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

/* Default: show light-bg logo, hide dark-bg logo */
.logo-dark { display: none; }

/* System preference dark (no manual override) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .logo-light { display: none; }
    :root:not([data-theme="light"]) .logo-dark  { display: block; }
}

/* Manual overrides */
[data-theme="dark"]  .logo-light { display: none; }
[data-theme="dark"]  .logo-dark  { display: block; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark  { display: none; }

/* .nav-right and .theme-toggle are now in axe.css */


/* ============================================
   RESUME-SPECIFIC STYLES
   ============================================ */

article {
    max-width: 820px;
    padding: 2.5rem 2rem;
}

/* Contact header block */
.resume-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--color-border);
}

.resume-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.resume-header .contact-line {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.resume-header .contact-line a {
    color: var(--color-text-muted);
}

.resume-header .contact-line a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Section headings */
.resume-section {
    margin-bottom: 2rem;
}

.resume-section h2 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--color-border);
}

/* Job entries */
.job {
    margin-bottom: 1.5rem;
}

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

.job h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.1rem;
}

.job-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.job ul {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.job ul li {
    margin-bottom: 0.2rem;
}

/* Additional experience — single line summary */
.additional {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* Skills definition list */
dl.skills {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.3rem 1.25rem;
    font-size: 0.875rem;
}

dl.skills dt {
    color: var(--color-text-muted);
    font-weight: 600;
    white-space: nowrap;
    padding-top: 0.05rem;
}

dl.skills dd {
    color: var(--color-text);
}

/* Education entries */
.edu-entry {
    margin-bottom: 0.75rem;
}

.edu-entry h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.1rem;
}

.edu-entry p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Awards */
.award-list {
    font-size: 0.875rem;
}

.award-list li {
    margin-bottom: 0.25rem;
}

/* Footer */
footer {
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    article {
        padding: 1.5rem 1rem;
    }

    dl.skills {
        grid-template-columns: 1fr;
        gap: 0;
    }

    dl.skills dt {
        margin-top: 0.5rem;
        font-size: 0.75rem;
    }
}
