/* Capstone Updates - Minimal Clean Styles */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --code-bg: #f3f4f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* Header & Navigation */
header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

h1, h2, h3, h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
}

h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg);
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--border);
}

th {
    background: var(--bg-alt);
    font-weight: 600;
}

tr:nth-child(even) {
    background: var(--bg-alt);
}

/* Code Blocks */
pre {
    background: var(--code-bg);
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
}

code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    background: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

pre code {
    background: none;
    padding: 0;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-style: italic;
}

/* Links */
a {
    color: var(--primary);
    text-decoration: underline;
}

a:hover {
    color: var(--primary-dark);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 640px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    main {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}

/* Three-page project site */
.hero {
    padding: 3.5rem 0 2.5rem;
}

.eyebrow {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 780px;
    margin-top: 0.5rem;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    letter-spacing: -0.04em;
}

.hero-copy {
    max-width: 760px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.hero-meta div {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-alt);
}

.hero-meta strong, .hero-meta span { display: block; }
.hero-meta span { color: var(--text-light); font-size: 0.9rem; }

.home-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.button-link { display: inline-block; padding: 0.8rem 1.1rem; border-radius: 8px; color: #fff; background: var(--primary); text-decoration: none; font-weight: 600; }
.button-link:hover { color: #fff; background: var(--primary-dark); }
.text-link { font-weight: 600; text-decoration: none; }

.log-list { display: grid; gap: 1rem; margin-top: 2rem; }
.log-card { display: flex; align-items: center; min-height: 92px; padding: 1.5rem 1.75rem; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--bg); text-decoration: none; font-size: 1.15rem; font-weight: 700; box-shadow: 0 4px 14px rgba(31, 41, 55, 0.05); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.log-card:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12); }

.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem calc(50% - 50vw); padding: 0 2rem; }
.team-card { min-width: 0; padding: 1.2rem 0.9rem; text-align: center; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
.photo-placeholder { width: min(130px, 100%); aspect-ratio: 1; margin: 0 auto 1rem; display: grid; place-items: center; border: 2px dashed #cbd5e1; border-radius: 50%; color: var(--text-light); background: var(--bg-alt); font-size: 0.85rem; }
.team-card h2 { min-height: 2.6em; margin: 0.5rem 0 0.3rem; padding: 0; border: 0; font-size: 1.05rem; }
.team-card .role { min-height: 3.2em; color: var(--primary); font-size: 0.88rem; font-weight: 600; }
.team-card h3 { margin: 1rem 0 0.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.coop-list { margin: 0; padding: 0; list-style-position: inside; color: var(--text-light); font-size: 0.82rem; }
.coop-list li { padding: 0.3rem 0; border-top: 1px solid var(--border); }

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0; padding: 0; } }
@media (max-width: 640px) { .hero { padding-top: 2rem; } .hero-meta { grid-template-columns: 1fr; } .home-actions { align-items: flex-start; flex-direction: column; } .team-grid { grid-template-columns: 1fr; } }


/* Verified team profile photos */
.team-photo {
    width: min(130px, 100%);
    aspect-ratio: 1;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 1px var(--border), 0 8px 20px rgba(31, 41, 55, 0.12);
}
.coop-list .not-found { color: #9ca3af; font-style: italic; }
