:root {
    --accent: #1A73E8;
    --accent-hover: #155FCC;
    --text: #0f172a;
    --muted: #475569;
    --border: #E5E8EB;
    --bg-soft: #F7F9FC;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: white;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-social {
    font-size: 18px;
}

.hero {
    padding: 60px 20px 80px;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 1100px;
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-headshot {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-text {
    text-align: left;
    max-width: 700px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(32px, 6vw, 44px);
    margin: 0 0 16px;
    line-height: 1.2;
}

.lead {
    max-width: 860px;
    margin: 0 auto 28px;
    font-size: 18px;
    color: var(--muted);
}

.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-text .cta-group {
    justify-content: flex-start;
}

.contact-cta {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.15);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(26, 115, 232, 0.25);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: white;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 10px 14px;
    color: var(--text);
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

main {
    flex: 1;
}

.section {
    padding: 80px 20px;
}

.section:nth-of-type(even) {
    background: var(--bg-soft);
}

.section-header {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.section h2 {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 10px;
    display: inline-block;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section p {
    margin: 0;
    color: var(--muted);
}

.tech-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}

.tech-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.tech-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
    display: grid;
    gap: 8px;
}

.experience-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.experience-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.dot {
    width: 8px;
    height: 8px;
    margin-top: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.availability {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    color: var(--muted);
}

.availability p {
    color: var(--muted);
}

.rates {
    margin-top: 12px;
    font-weight: 600;
    color: var(--text);
    display: grid;
    gap: 6px;
}

.contact {
    text-align: center;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.social-links {
    margin-top: 26px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-links a {
    color: var(--muted);
    font-size: 20px;
    transition: color 0.2s ease;
}

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

.footer {
    padding: 24px 20px 40px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 720px) {
    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero {
        padding: 32px 16px 60px;
    }

    .hero-content {
        margin-top: 20px;
        flex-direction: column;
        text-align: center;
    }

    .hero-headshot {
        margin-bottom: 20px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text .cta-group {
        justify-content: center;
    }

    .section {
        padding: 60px 16px;
    }

    .cta-group {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .tech-grid,
    .card-grid {
        max-width: 1200px;
    }

    .hero-content {
        max-width: 1200px;
    }

    .experience-list {
        max-width: 1000px;
    }
}
