:root {
    --border: #e5e7eb;
    --muted: #6b7280;
    --text: #111827;
    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --cta: #3b82f6;
    --cta-hover: #2563eb;
    --accent: #360b7a;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
    height: 100%;
}
body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding-top: 60px;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    height: 100%;
    font-display: swap;
}

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0.75rem 0;
}
.sticky-nav .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.nav-brand {
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}
.nav-links a:hover {
    color: var(--cta);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cta);
    transition: width 0.2s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}
.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links a {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
}

/* Layout utilities */
.section {
    padding: 4rem 1rem;
    border-bottom: 1px solid var(--border);
}
.section.bg {
    background: var(--bg-subtle);
}
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background: var(--bg-gradient);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}
header .wrap {
    position: relative;
    z-index: 1;
}

header h1 {
    font-family: 'Roboto Mono', monospace;
    font-size: 10vw;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header h2 {
    font-size: 1.25rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    max-width: 600px;
}

h3 {
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}
section p {
    margin: 1rem auto;
    max-width: 65ch;
    color: var(--muted);
    font-size: 1.1rem;
    text-align: justify;
}
.content-list {
    max-width: 65ch;
    margin: 1.5rem auto;
    padding-left: 0;
    list-style: none;
}
.content-list li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}
.content-list li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}
.content-list strong {
    color: var(--text);
    font-weight: 600;
}

.team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 820px) {
    .team {
        grid-template-columns: 1fr 1fr;
    }
}
.member {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.member img {
    width: 200px;
    height: 250px;
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid var(--accent);
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: var(--shadow);
}
.member h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}
.member .title {
    margin: 0 0 1.5rem 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
}
.member p {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.75rem 0;
}
.bio-highlights {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.2rem;
}
.bio-highlights li {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.5rem 0;
    color: var(--muted);
}
.bio-credentials {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
}

.cta {
    text-align: center;
    margin-top: 2rem;
}
.cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1rem 2rem;
    background: var(--bg-gradient);
    color: #fff;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta a span {
    font-size: 3rem;
    padding-bottom: 0.8rem;
}
.cta a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

footer {
    background: var(--text);
    color: white;
    padding: 1rem;
    text-align: center;
}
footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}