/* sam-servellon-styles.css - Unified stylesheet for all pages */

/* Import Jost font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --primary: #7c4dbd;
    --primary-light: #9b6ed4;
    --primary-dark: #6a3fa8;
    --secondary: #e6e6e6;
    --accent: #10b981;
    --accent-dark: #059669;
    --blue: #667eea;
    --text: #333333;
    --text-light: #666666;
    --light: #ffffff;
    --light-gray: #f5f5f5;
    --dark: #222222;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --container-width: 1200px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-main: "Jost", sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

ul {
    list-style-position: inside;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

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

a:hover {
    color: var(--accent);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Main Content Area */
main {
    flex: 1;
    padding: 4rem 0;
    min-height: 60vh;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #7c4dbd 0%, #10b981 100%);
    color: var(--light);
    padding: var(--spacing-lg) 0;
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: 3rem;
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.profile-container-small {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light);
    box-shadow: 0 10px 20px var(--shadow-dark);
}

.profile-image-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light);
    box-shadow: 0 4px 8px var(--shadow);
}

.profile-info h1,
.profile-info-small h1 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: var(--spacing-sm);
}

.profile-info p,
.profile-info-small p {
    font-size: 1.1rem;
    color: var(--light);
    opacity: 0.95;
    margin-bottom: var(--spacing-xs);
}

.pronouns {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    background: white;
    box-shadow: 0 2px 4px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 3rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.page-title {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #7c4dbd 0%, #10b981 100%);
    border-radius: 2px;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: var(--spacing-md);
    font-style: italic;
}

/* Content Sections */
.content-section {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
    animation: fadeInUp 0.6s ease-out;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--secondary);
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    text-align: justify;
}

/* Section Headers */
.section-header {
    font-size: 2rem;
    color: var(--text);
    margin: var(--spacing-xl) 0 var(--spacing-lg);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

/* Experience Cards */
.experience-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px var(--shadow-dark);
}

.job-header {
    margin-bottom: var(--spacing-md);
}

.job-title {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.date-location {
    color: var(--text-light);
    font-size: 0.95rem;
}

.job-description ul {
    list-style: none;
    padding-left: 0;
}

.job-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.7;
}

.job-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.education-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
    border-top: 3px solid var(--accent);
    transition: var(--transition);
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px var(--shadow-dark);
}

.degree {
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.school {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.edu-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.edu-details {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Skills Section */
.skills-section {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.skill-item {
    padding: 0.75rem var(--spacing-md);
    background: linear-gradient(135deg, rgba(124, 77, 189, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 6px;
    border-left: 3px solid var(--accent);
    transition: var(--transition);
}

.skill-item:hover {
    background: linear-gradient(135deg, rgba(124, 77, 189, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    transform: translateX(4px);
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.course-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 6px var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
    border-left-color: var(--accent);
}

.course-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.course-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.6;
}

.course-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    align-self: flex-start;
}

.course-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 77, 189, 0.3);
    color: var(--light);
}

/* Password Protection Styles */
.password-container {
    max-width: 500px;
    margin: 100px auto;
    padding: var(--spacing-xl);
    background: var(--light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 24px var(--shadow-dark);
    text-align: center;
}

.password-container h2 {
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
}

.password-container p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.password-input-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.password-input {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid var(--secondary);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.password-input:focus {
    outline: none;
    border-color: var(--primary);
}

.password-submit {
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--light);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 77, 189, 0.3);
}

.password-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    display: none;
}

.password-error.show {
    display: block;
}

.protected-content {
    display: none;
}

.protected-content.unlocked {
    display: block;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #7c4dbd 0%, #10b981 100%);
    color: var(--light);
    padding: var(--spacing-xl) 0;
    margin-top: 4rem;
    box-shadow: 0 -5px 30px var(--shadow);
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    font-weight: 600;
    color: var(--light);
    text-shadow: 0 2px 4px var(--shadow);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-link {
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

.contact-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-dark);
    color: var(--light);
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

/* Creative Commons Section */
.cc-section {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.cc-section:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-dark);
}

.cc-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cc-license {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.cc-icons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cc-icon {
    width: 30px;
    height: 30px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 5px var(--shadow);
}

.cc-icon:hover {
    transform: scale(1.1);
}

.cc-icon svg {
    width: 20px;
    height: 20px;
}

.cc-text {
    flex: 1;
}

.cc-text h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 2px var(--shadow);
    color: var(--light);
}

.cc-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}

.cc-text a {
    color: #ffd700;
    text-decoration: none;
    border-bottom: 1px dotted #ffd700;
    transition: color 0.2s ease;
}

.cc-text a:hover {
    color: var(--light);
    border-bottom-color: var(--light);
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.9;
    font-size: 14px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.experience-card,
.education-card,
.skills-section,
.content-section {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-container-small {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

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

    .course-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: var(--spacing-lg);
    }

    .content-section p {
        text-align: left;
    }

    .cc-container {
        flex-direction: column;
        text-align: center;
    }

    .cc-license {
        flex-direction: column;
        min-width: auto;
    }

    .contact-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .profile-info h1,
    .profile-info-small h1 {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .section-header {
        font-size: 1.5rem;
    }
}

/* ══════════════════════════════════════════
   HOMEPAGE - CTA CARDS
   ══════════════════════════════════════════ */
.cta-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .cta-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   TWO-COLUMN PROJECT LAYOUT
   ══════════════════════════════════════════ */
.project-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.left-column { display: flex; flex-direction: column; gap: 2rem; }

.right-column { position: sticky; top: 80px; height: fit-content; }

.presentation-embed {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px var(--shadow);
    border: 2px solid var(--secondary);
}

@media (max-width: 968px) {
    .project-layout { grid-template-columns: 1fr; }
    .right-column { position: relative; top: 0; }
}

/* ══════════════════════════════════════════
   ARTIFACT / RESOURCE CARDS
   ══════════════════════════════════════════ */
.artifact-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.artifact-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.artifact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px var(--shadow-dark);
    border-left-color: var(--accent);
}

.artifact-title { font-size: 1.2rem; font-weight: 600; color: var(--primary); margin: 0; }

.artifact-description { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; margin: 0; }

.artifact-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.artifact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: var(--light);
}

/* ══════════════════════════════════════════
   TEAC 859 NOTES - SIDEBAR / VIEWER LAYOUT
   ══════════════════════════════════════════ */
.content-wrapper { display: flex; gap: 1.5rem; padding: 0 2rem 2rem; flex: 1; }

.sidebar {
    width: 20%;
    min-width: 250px;
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 85vh;
}

.week-selector { margin-bottom: 1.5rem; }

.week-selector label { display: block; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }

.week-dropdown {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--light);
    cursor: pointer;
    transition: var(--transition);
}

.week-dropdown:hover { border-color: var(--primary); }
.week-dropdown:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }

.file-list-container { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.file-list-header {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.file-list-subheader { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; font-style: italic; }
.file-list { flex: 1; overflow-y: auto; }

.file-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-item:hover { background: #e8ecff; border-left-color: var(--primary); transform: translateX(4px); }
.file-item.active {
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-left-color: var(--primary);
}

.file-icon { font-size: 1.25rem; }
.file-name { flex: 1; color: var(--text); font-size: 0.95rem; word-break: break-word; }

.content-viewer {
    flex: 1;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 85vh;
}

.viewer-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
    border-bottom: 1px solid var(--secondary);
}

.viewer-title { font-size: 1.25rem; color: var(--text); font-weight: 600; }
.viewer-content { flex: 1; position: relative; overflow: hidden; min-height: 80vh; }
.embed-container { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.embed-container iframe { width: 100%; height: 100%; border: none; }

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    padding: 2rem;
    text-align: center;
}

.empty-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.3; }
.empty-text { font-size: 1.1rem; margin-bottom: 0.5rem; }
.empty-subtext { font-size: 0.95rem; color: #aaa; }

.loading { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.1rem; color: var(--primary); }

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.file-list::-webkit-scrollbar { width: 8px; }
.file-list::-webkit-scrollbar-track { background: var(--light-gray); border-radius: 4px; }
.file-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.file-list::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

@media (max-width: 1024px) {
    .content-wrapper { flex-direction: column; height: auto; }
    .sidebar { width: 100%; height: auto; max-height: 400px; }
    .content-viewer { min-height: 600px; }
}

/* ══════════════════════════════════════════
   ACTIVITY / CERTIFICATION TILES
   ══════════════════════════════════════════ */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

.tile-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out forwards;
}

.tile-card.activity { border-left-color: var(--accent); }
.tile-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px var(--shadow-dark); }

.tile-card:nth-child(1) { animation-delay: 0.10s; }
.tile-card:nth-child(2) { animation-delay: 0.15s; }
.tile-card:nth-child(3) { animation-delay: 0.20s; }
.tile-card:nth-child(4) { animation-delay: 0.25s; }
.tile-card:nth-child(5) { animation-delay: 0.30s; }
.tile-card:nth-child(6) { animation-delay: 0.35s; }
.tile-card:nth-child(7) { animation-delay: 0.40s; }

.card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }

.card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.certification-card .card-icon { color: var(--primary); }
.activity-card .card-icon { color: var(--accent); }
.card-header-text { flex: 1; }

.card-title { font-size: 1.25rem; color: var(--text); font-weight: 600; line-height: 1.2; margin-bottom: 0.25rem; }
.card-subtitle { color: var(--primary); font-weight: 500; font-size: 0.95rem; }
.activity-card .card-subtitle { color: var(--accent); }
.card-date { color: var(--text-light); font-size: 0.85rem; margin-bottom: 0.75rem; }
.card-description { color: var(--text-light); line-height: 1.6; font-size: 0.95rem; flex-grow: 1; }

@media (max-width: 768px) { .tiles-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   PUBLICATIONS PAGE
   ══════════════════════════════════════════ */
.presentations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

.presentation-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out forwards;
}

.presentation-card:nth-child(1) { animation-delay: 0.1s; }
.presentation-card:nth-child(2) { animation-delay: 0.2s; }
.presentation-card:nth-child(3) { animation-delay: 0.3s; }
.presentation-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px var(--shadow-dark); }

.presentation-date { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.presentation-title { font-size: 1.3rem; color: var(--text); margin-bottom: 0.75rem; font-weight: 600; line-height: 1.3; }
.presentation-description { color: var(--text-light); line-height: 1.6; font-size: 0.95rem; }

.research-grid { display: grid; gap: 2rem; }

.research-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
    border-top: 4px solid var(--accent);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out forwards;
}

.research-card:nth-child(1) { animation-delay: 0.4s; }
.research-card:nth-child(2) { animation-delay: 0.5s; }
.research-card:nth-child(3) { animation-delay: 0.6s; }
.research-card:hover { transform: translateX(4px); box-shadow: 0 4px 16px var(--shadow-dark); }

.research-description { color: var(--text-light); line-height: 1.7; font-size: 1.05rem; }

.research-status {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

.publications-section {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
    animation: fadeInUp 0.6s ease-out forwards;
}

.publication-item { padding: 1.5rem 0; border-bottom: 1px solid var(--secondary); }
.publication-item:last-child { border-bottom: none; }
.publication-item:first-child { padding-top: 0; }

.pub-authors { font-weight: 500; color: var(--text); margin-bottom: 0.25rem; }
.pub-title { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.25rem; font-style: italic; }
.pub-venue { color: var(--text-light); font-size: 0.95rem; }

.cta-section {
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    text-align: center;
}

.cta-title { font-size: 1.5rem; color: var(--text); margin-bottom: 1rem; }
.cta-text { color: var(--text-light); margin-bottom: 1.5rem; }

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--light);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.cta-button:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102,126,234,0.4); color: var(--light); }

@media (max-width: 768px) { .presentations-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   CLASSES PAGE
   ══════════════════════════════════════════ */
.intro-section {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 2px 8px var(--shadow);
}

.intro-section h2 { font-size: 1.75rem; color: var(--text); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--primary); }
.intro-section p { color: var(--text-light); line-height: 1.8; font-size: 1.05rem; }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .courses-grid { grid-template-columns: 1fr; }
    .intro-section { padding: var(--spacing-md); }
}

/* ══════════════════════════════════════════
   BREADCRUMB NAVIGATION
   ══════════════════════════════════════════ */
.breadcrumb { margin-bottom: var(--spacing-lg); font-size: 0.875rem; color: var(--text-light); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   STATUS BADGE SYSTEM
   ══════════════════════════════════════════ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--spacing-md);
}

.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; }

.status-badge--complete   { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.status-badge--complete .dot { background: #22c55e; }

.status-badge--in-progress { background: #fef9c3; color: #92400e; border: 1px solid #fde68a; }
.status-badge--in-progress .dot { background: #f59e0b; }

.status-badge--coming-soon { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.status-badge--coming-soon .dot { background: #9ca3af; }

/* ══════════════════════════════════════════
   PLACEHOLDER NOTICE
   ══════════════════════════════════════════ */
.placeholder-notice {
    background: var(--light);
    border: 2px dashed var(--secondary);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--text-light);
    margin-top: var(--spacing-lg);
}

.placeholder-notice p { margin-bottom: 0.5rem; }
.placeholder-notice p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════
   REFERENCES (APA)
   ══════════════════════════════════════════ */
.ref-list { list-style: none; padding: 0; margin: 0; }

.ref-list li {
    padding-left: 2rem;
    text-indent: -2rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--text);
}

cite { font-style: italic; }

.apa-note {
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--secondary);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* ══════════════════════════════════════════
   EXISTING LINK (subtle inline link)
   ══════════════════════════════════════════ */
.existing-link { color: var(--primary); font-weight: 600; }
.existing-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   EDPS 936 - RESEARCH PORTFOLIO TOC
   ══════════════════════════════════════════ */
.research-title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.35;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.research-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm) var(--spacing-md);
    color: var(--text-light);
    font-size: 0.9rem;
    align-items: center;
}

.research-meta .meta-divider { color: var(--secondary); font-weight: 300; user-select: none; }
.pronouns-inline { font-weight: 400; color: var(--text-light); }

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-md);
}

.toc-card {
    position: relative;
    background: var(--light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    text-decoration: none;
    color: var(--text);
    display: block;
    transition: var(--transition);
    cursor: pointer;
    overflow: visible;
}

.toc-card:hover,
.toc-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-dark);
    outline: none;
}

.toc-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.toc-card--complete   { border-left-color: #22c55e; }
.toc-card--in-progress { border-left-color: #f59e0b; }
.toc-card--coming-soon { border-left-color: #9ca3af; cursor: default; }
.toc-card--coming-soon:hover { transform: none; box-shadow: 0 2px 8px var(--shadow); }

.toc-card__status { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }

.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.toc-card--complete   .status-dot { background: #22c55e; }
.toc-card--in-progress .status-dot { background: #f59e0b; }
.toc-card--coming-soon .status-dot { background: #9ca3af; }

.status-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.toc-card--complete   .status-label { color: #16a34a; }
.toc-card--in-progress .status-label { color: #b45309; }
.toc-card--coming-soon .status-label { color: #6b7280; }

.toc-card__title { font-size: 1.05rem; color: var(--primary); margin-bottom: 0.4rem; line-height: 1.3; }
.toc-card--coming-soon .toc-card__title { color: var(--text-light); }

.toc-card__teaser { font-size: 0.875rem; color: var(--text-light); line-height: 1.5; margin-bottom: 0; }

.toc-card__cta {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc-card--coming-soon .toc-card__cta { color: var(--text-light); }

.toc-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: #f9fafb;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    line-height: 1.55;
    width: 270px;
    max-width: 90vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 200;
    text-align: left;
}

.toc-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: var(--dark);
}

.toc-card:hover .toc-tooltip,
.toc-card:focus .toc-tooltip,
.toc-card:focus-visible .toc-tooltip { opacity: 1; visibility: visible; }

.project-intro {
    border-left: 4px solid var(--primary);
    padding-left: 1.25rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .toc-grid { grid-template-columns: 1fr; }
    .research-meta { flex-direction: column; gap: var(--spacing-xs); }
    .meta-divider { display: none; }
}

/* Notes page header card variant */
.page-header--card {
    background: white;
    padding: 1.5rem 2rem;
    margin: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: 0;
}
