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

:root {
    --bg: #fbfaf7;
    --text: #18191f;
    --muted: #646b74;
    --surface: #ffffff;
    --surface-hover: #f4f6f8;
    --accent: #116d6e;
    --accent-strong: #0d4f50;
    --warm: #d97732;
    --border: #dde2e2;
    --shadow: 0 22px 60px rgba(21, 35, 46, 0.08);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111312;
        --text: #eef2ef;
        --muted: #aab3ad;
        --surface: #191d1b;
        --surface-hover: #212724;
        --accent: #68d4ca;
        --accent-strong: #9be4dc;
        --warm: #f0a35d;
        --border: #303834;
        --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:
        linear-gradient(180deg, rgba(17, 109, 110, 0.08), transparent 360px),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: background 0.3s, color 0.3s;
    line-height: 1.65;
}

.site-shell {
    max-width: 1040px;
    width: 100%;
    padding: 5rem 2rem 3rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
    align-items: center;
    min-height: 58vh;
    padding-bottom: 2rem;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.8rem);
    line-height: 0.95;
    margin-bottom: 1.25rem;
    letter-spacing: 0;
}

.intro {
    color: var(--muted);
    max-width: 680px;
    font-size: 1.12rem;
}

.availability {
    display: inline-flex;
    margin-top: 1.4rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
    border-radius: 999px;
    color: var(--accent-strong);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    font-size: 0.95rem;
    font-weight: 650;
}

.signal-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: var(--shadow);
}

.signal-panel span {
    display: grid;
    min-height: 84px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-weight: 750;
}

.signal-panel span:nth-child(2),
.signal-panel span:nth-child(5) {
    color: var(--warm);
}

.signal-panel span:nth-child(3),
.signal-panel span:nth-child(4) {
    color: var(--accent);
}

.section {
    margin-top: 3rem;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-heading span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-heading h2 {
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.skill-card {
    min-height: 190px;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(21, 35, 46, 0.04);
}

.skill-card p {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.skill-card span,
.trait-list li {
    color: var(--muted);
}

.trait-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
}

.trait-list li {
    min-height: 150px;
    padding: 1.25rem;
    border-top: 3px solid var(--warm);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    display: flex;
    flex-direction: column;
    min-height: 156px;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s, transform 0.2s;
}

.card:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.card-label {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 650;
    margin-bottom: 0.6rem;
}

.card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--muted);
}

.social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.social a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
}

.social a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .site-shell {
        padding: 3.5rem 1.25rem 2rem;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }

    .signal-panel,
    .skill-grid,
    .trait-list,
    .nav-cards {
        grid-template-columns: 1fr;
    }

    .signal-panel span {
        min-height: 64px;
    }
}
