:root {
    --primary: #0000FF;
    --white: #FFFFFF;
    --bg-light: #F5F5F5;
    --text-dark: #111111;
    --border-width: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

body {
    line-height: 1.4;
    color: var(--text-dark);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Techno-Optimist Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 0.95;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
}

p,
li {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 70ch;
}

strong {
    color: var(--primary);
    font-weight: 700;
}

/* Layout Blocks */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header - Blue Block */
header {
    background: var(--primary);
    color: var(--white);
    padding: 2rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text {
    color: var(--white);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.logo-icon {
    height: 50px;
    width: 50px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    /* Sharp edges for minimalism */
}

.logo-icon img {
    height: 100%;
    /* Ensure image fits */
    object-fit: contain;
}

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

nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    padding: 6rem 0;
}

section {
    margin-bottom: 5rem;
}

.hero-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary);
    padding-left: 2rem;
}

ul.tech-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

ul.tech-list li {
    border: 2px solid var(--primary);
    padding: 1.5rem;
    transition: 0.2s ease;
    cursor: default;
}

ul.tech-list li:hover {
    background: var(--primary);
    color: var(--white);
}

ul.tech-list li:hover strong {
    color: var(--white);
}

/* People Grid */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.person-card {
    background: var(--bg-light);
    border: 2px solid transparent;
    padding: 1.5rem;
    text-align: center;
    transition: 0.2s ease;
}

.person-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--primary);
}

.person-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    /* grayscale for uniformity, color on hover if desired */
    filter: grayscale(100%);
    margin-bottom: 1rem;
    border-radius: 0;
    /* Keep circular for faces or change to square? Let's keep circle but in square context */
}

.person-card:hover img {
    filter: grayscale(0%);
}

.person-name {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.person-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-family: monospace;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tag {
    background: var(--primary);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Logos */
.university-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.university-logos img {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.university-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
footer {
    background: var(--text-dark);
    /* Dark footer for contrast or Primary? Let's go Primary for techno-optimism blocking */
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.address-box {
    background: var(--white);
    color: var(--primary);
    padding: 1.5rem;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 1.0;
}

/* Profile Specific */
.profile-header {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.profile-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    border: 4px solid var(--primary);
    box-shadow: 15px 15px 0 var(--bg-light);
}

.profile-info h1 {
    margin-bottom: 0.5rem;
}

.profile-role {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.profile-meta {
    /* color: #555; */
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

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

    .university-logos {
        gap: 2rem;
        flex-direction: column;
    }

    .university-logos img {
        height: 50px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}