@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    --bg-char: #141414;
    --bg-deep: #1a1a1a;
    --bg-card: rgba(28, 28, 28, 0.85);
    --rose-gold: #e8a87c;
    --rose-light: #f7d1ba;
    --rose-dark: #c47f5a;
    --copper: #d4956a;
    --ice-white: #f0ece4;
    --warm-white: #e8e0d4;
    --soft-gray: #9e968c;
    --muted: #5c574f;
    --text-primary: #f0ece4;
    --text-secondary: #a8a098;
    --text-muted: #5c574f;
    --border: rgba(232, 168, 124, 0.1);
    --border-warm: rgba(232, 168, 124, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glow-rose: 0 0 25px rgba(232, 168, 124, 0.15);
    --gradient-rose: linear-gradient(135deg, #e8a87c, #d4956a, #c47f5a);
    --gradient-subtle: linear-gradient(135deg, rgba(232, 168, 124, 0.15), rgba(212, 149, 106, 0.05));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--bg-char);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
}

/* Diagonal stripe bg */
.bg-stripes {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.02;
    background: repeating-linear-gradient(-45deg, transparent, transparent 40px,
            var(--rose-gold) 40px, var(--rose-gold) 41px);
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.06;
    z-index: 0;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--rose-gold);
    top: -10%;
    right: 15%;
}

.bg-orb-2 {
    width: 450px;
    height: 450px;
    background: var(--copper);
    bottom: 10%;
    left: -5%;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--rose-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--rose-gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--rose-gold);
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 4rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: center;
    gap: 4rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-eyebrow .bar {
    width: 32px;
    height: 3px;
    background: var(--gradient-rose);
    border-radius: 2px;
}

.hero-eyebrow span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rose-gold);
}

.hero h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero h1 .rose {
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rose-gold);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.hero-bio {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.85;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Sora', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-rose {
    background: var(--gradient-rose);
    color: var(--bg-char);
}

.btn-rose:hover {
    box-shadow: 0 0 30px rgba(232, 168, 124, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--rose-gold);
    border: 1.5px solid var(--rose-gold);
}

.btn-outline:hover {
    background: rgba(232, 168, 124, 0.08);
    transform: translateY(-2px);
}

.contact-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.c-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.c-chip svg {
    width: 13px;
    height: 13px;
    stroke: var(--rose-gold);
    fill: none;
    stroke-width: 1.8;
}

/* Profile Card */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-rose);
}

.profile-img-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-rose);
}

.profile-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-char);
}

.profile-img-wrap .fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rose-gold);
    border: 3px solid var(--bg-char);
}

.p-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.p-role {
    font-size: 0.72rem;
    color: var(--rose-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.p-divider {
    width: 40px;
    height: 1.5px;
    background: var(--gradient-rose);
    margin: 1rem auto;
}

.p-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.pm-num {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pm-lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 0.15rem;
}

/* Section */
.section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-deep);
}

.section-header {
    margin-bottom: 3rem;
}

.section-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rose-gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-eyebrow .bar {
    width: 20px;
    height: 2px;
    background: var(--rose-gold);
}

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    font-weight: 700;
}

.section-line {
    width: 50px;
    height: 2px;
    background: var(--gradient-rose);
    margin-top: 0.6rem;
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.stat-box {
    text-align: center;
    padding: 1.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: var(--border-warm);
    transform: translateY(-3px);
    box-shadow: var(--glow-rose);
}

.stat-num {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 0.4rem;
}

/* Experience */
.exp-card {
    position: relative;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-rose);
}

.exp-card:hover {
    border-color: var(--border-warm);
    transform: translateX(4px);
    box-shadow: var(--glow-rose);
}

.exp-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.exp-role {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.exp-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--rose-gold);
    background: rgba(232, 168, 124, 0.08);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    white-space: nowrap;
}

.exp-company {
    font-size: 0.85rem;
    color: var(--rose-gold);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.exp-list {
    list-style: none;
}

.exp-list li {
    color: var(--text-secondary);
    font-size: 0.82rem;
    padding: 0.2rem 0 0.2rem 1.2rem;
    position: relative;
    line-height: 1.65;
}

.exp-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--rose-gold);
    font-size: 0.7rem;
    top: 0.35rem;
}

.ach-box {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(232, 168, 124, 0.04);
    border: 1px solid var(--border-warm);
    border-radius: 8px;
}

.ach-box .badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rose-light);
    margin-bottom: 0.4rem;
}

/* Earlier Career */
.career-mini {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.mini-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.3s;
}

.mini-card:hover {
    border-color: var(--border-warm);
    transform: translateY(-2px);
}

.mini-role {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.mini-co {
    font-size: 0.8rem;
    color: var(--rose-gold);
}

.mini-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.5rem;
}

.skill-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.skill-pill:hover {
    border-color: var(--border-warm);
    color: var(--rose-light);
    transform: translateY(-2px);
}

.skill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rose-gold);
    flex-shrink: 0;
}

/* Projects */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.proj-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.proj-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-rose);
}

.proj-card:hover {
    border-color: var(--border-warm);
    transform: translateY(-3px);
    box-shadow: var(--glow-rose);
}

.proj-name {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.proj-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
}

/* Education & Certs */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.3s;
}

.edu-card:hover {
    border-color: var(--border-warm);
    transform: translateY(-2px);
}

.edu-degree {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.edu-year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    transition: all 0.3s;
}

.cert-item:hover {
    border-color: var(--border-warm);
    transform: translateX(4px);
}

.cert-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(232, 168, 124, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.cert-name {
    font-weight: 600;
    font-size: 0.84rem;
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
}

footer p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

footer .rose {
    background: var(--gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-bio {
        max-width: 100%;
    }

    .hero-cta,
    .contact-row {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .profile-card {
        max-width: 340px;
        margin: 0 auto;
        order: -1;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.97);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .skills-grid,
    .proj-grid,
    .edu-grid,
    .career-mini {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3.5rem 1.25rem;
    }
}