* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    --ink: #1d1233;
    --muted: #6c5f84;
    --line: #ded2f2;
    --paper: #fbf7ff;
    --surface: #ffffff;
    --accent: #7c3aed;
    --accent-strong: #5b21b6;
    --coral: #c026d3;
    --gold: #a855f7;
    --blue: #4f46e5;
    --lavender: #eee7ff;
    --plum: #3b1d68;
    --shadow: 0 24px 70px rgba(69, 39, 122, 0.18);
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(168, 85, 247, 0.28), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(124, 58, 237, 0.2), transparent 32%),
        linear-gradient(135deg, #f8f2ff 0%, #efe7ff 44%, #fff8fd 100%),
        var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(18px, 5vw, 72px);
    background: rgba(251, 247, 255, 0.88);
    border-bottom: 1px solid rgba(91, 33, 182, 0.12);
    backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.profile-card,
.filter-bar,
.contact-card {
    display: flex;
    align-items: center;
}

.brand {
    gap: 14px;
    color: var(--plum);
    font-size: clamp(1.28rem, 2.6vw, 2rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.brand-mark,
.avatar {
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--coral));
    font-weight: 900;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    font-size: 1.15rem;
}

.nav-links {
    gap: clamp(14px, 3vw, 30px);
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent-strong);
}

.header-action,
.button,
.copy-email,
.filter-button {
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-action {
    padding: 10px 16px;
    color: #ffffff;
    background: var(--plum);
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 64px);
}

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

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    max-width: 980px;
    color: var(--plum);
    font-size: clamp(2.55rem, 6vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    max-width: 840px;
    font-size: clamp(1.9rem, 3.5vw, 3.55rem);
    line-height: 1.04;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.hero-text {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button,
.copy-email,
.filter-button {
    min-height: 44px;
    border: 1px solid var(--line);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--coral));
    border-color: transparent;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.76);
    color: var(--accent-strong);
}

.button:hover,
.copy-email:hover,
.filter-button:hover,
.header-action:hover {
    transform: translateY(-2px);
}

.hero-panel,
.contact-card,
.tools-panel,
.project-card,
.process-step {
    border: 1px solid rgba(124, 58, 237, 0.15);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 26px;
    border-radius: 8px;
}

.profile-card {
    gap: 14px;
    margin-bottom: 26px;
}

.avatar {
    width: 74px;
    height: 74px;
    border-radius: 8px;
    font-size: 1.55rem;
}

.profile-name,
.profile-role {
    margin: 0;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 900;
}

.profile-role {
    color: var(--muted);
}

.metrics {
    display: grid;
    gap: 12px;
    margin: 0;
}

.metrics div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.metrics dt {
    color: var(--muted);
    font-weight: 700;
}

.metrics dd {
    margin: 0;
    font-weight: 900;
    text-align: right;
}

.section {
    padding: clamp(54px, 8vw, 102px) clamp(18px, 5vw, 72px);
}

.section-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 28px;
}

.filter-bar {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.filter-button {
    padding: 10px 14px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.76);
}

.filter-button.is-active {
    color: #ffffff;
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.project-grid,
.process-grid,
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card,
.process-step,
.experience-card {
    border-radius: 8px;
    overflow: hidden;
}

.project-visual {
    min-height: 188px;
    padding: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--blue));
}

.project-card:nth-child(2) .project-visual {
    background: linear-gradient(135deg, var(--coral), var(--accent));
}

.project-card:nth-child(3) .project-visual {
    background: linear-gradient(135deg, var(--blue), #9333ea);
}

.project-card:nth-child(4) .project-visual {
    background: linear-gradient(135deg, #581c87, #d946ef);
}

.project-tag {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 800;
}

.project-body,
.process-step,
.tools-panel,
.experience-card {
    padding: 22px;
}

.project-body p,
.process-step p,
.contact-copy p,
.experience-heading p {
    color: var(--muted);
}

.experience-section {
    background: rgba(243, 232, 255, 0.58);
}

.experience-card {
    border: 1px solid rgba(124, 58, 237, 0.15);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.experience-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.experience-heading p,
.experience-heading h3 {
    margin-bottom: 6px;
}

.experience-heading strong {
    color: var(--accent-strong);
}

.experience-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.project-meta span,
.skill-pill {
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-strong);
    font-size: 0.86rem;
    font-weight: 800;
}

.project-meta span {
    padding: 6px 8px;
}

.process-step span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--coral));
    font-weight: 900;
}

.skills-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-pill {
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
}

.tools-panel {
    border-radius: 8px;
}

.priority-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.priority-list li {
    padding-left: 18px;
    border-left: 4px solid var(--gold);
    color: var(--muted);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 100%);
}

.contact-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
}

.contact-card a,
.copy-email {
    padding: 14px;
    border-radius: 8px;
    background: var(--lavender);
    text-align: center;
    font-weight: 900;
}

.copy-email {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--coral));
    border: 0;
}

.copy-status {
    min-height: 20px;
    margin: 0;
    color: var(--accent-strong);
    text-align: center;
    font-weight: 800;
}

@media (max-width: 920px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .header-action {
        display: none;
    }

    .hero,
    .skills-layout,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .project-grid,
    .process-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 14px 16px;
    }

    .brand {
        width: 100%;
        font-size: 1.45rem;
    }

    .nav-links {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero,
    .section {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .button {
        width: 100%;
    }

    .metrics div {
        flex-direction: column;
        gap: 2px;
    }

    .metrics dd {
        text-align: left;
    }
}
