* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink: #0B0F0D;
    --panel: #121815;
    --panel-2: #171F1B;
    --text: #ECEFEA;
    --muted: #8B968E;
    --accent: #2FBF71;
    --accent-dark: #1B7A48;
    --gold: #D4AF6A;
    --border: rgba(47, 191, 113, 0.15);
    --border-strong: rgba(47, 191, 113, 0.35);
    --maxw: 1120px;
    --serif: 'Fraunces', serif;
    --sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--ink);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { padding: 110px 8%; max-width: var(--maxw); margin: 0 auto; }

.section-head { margin-bottom: 56px; }

.eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-head h2 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 2.4rem;
    letter-spacing: 0.2px;
}

/* ================= NAVBAR ================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: rgba(11, 15, 13, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.logo {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
}

.logo span { color: var(--accent); }

header nav { display: flex; gap: 38px; }

header nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    position: relative;
    transition: color 0.3s ease;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

header nav a:hover { color: var(--text); }
header nav a:hover::after { width: 100%; }

/* ================= HERO ================= */

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    width: 100%;
}

.hero-text { flex: 1; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 26px;
}

.status-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
}

.hero-text h4 {
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.hero-text h1 {
    font-family: var(--serif);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-text h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.hero-text h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-text h3 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-text p {
    max-width: 460px;
    color: var(--muted);
    margin-bottom: 36px;
    font-size: 0.98rem;
}

.hero-btn { display: flex; gap: 16px; }

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    background: var(--accent);
    color: var(--ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(47, 191, 113, 0.25);
}

.btn2 {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn2:hover { border-color: var(--accent); color: var(--accent); }

.hero-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 300px;
}

.hero-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 3px solid var(--panel-2);
}

.ring {
    position: absolute;
    inset: 0;
    border: 1.5px dashed var(--border-strong);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.chip {
    position: absolute;
    background: var(--panel-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.chip-1 { top: -6px; left: -16px; }
.chip-2 { bottom: 8px; right: -30px; }
.chip-3 { top: 40%; right: -46px; }

/* ================= ABOUT ================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.about-lead {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
}

.about-text {
    color: var(--muted);
    font-size: 1rem;
    border-left: 2px solid var(--accent);
    padding-left: 24px;
}

/* ================= SKILLS ================= */

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.skill-card i { font-size: 2rem; color: var(--accent); margin-bottom: 14px; }
.skill-card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.skill-card p { font-size: 0.83rem; color: var(--muted); }

/* ================= EDUCATION ================= */

.education-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: 40px;
}

.education-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.education-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.education-card h4 { color: var(--accent); font-weight: 500; font-size: 0.95rem; }

.status-tag {
    background: rgba(47, 191, 113, 0.12);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.education-meta { color: var(--gold); font-size: 0.85rem; font-weight: 500; margin-bottom: 12px; }
.education-card p:last-child { color: var(--muted); font-size: 0.95rem; }

/* ================= LEARNING ================= */

.learning-container { display: flex; flex-wrap: wrap; gap: 14px; }

.learn-chip {
    background: var(--panel-2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 22px;
    border-radius: 30px;
    font-size: 0.87rem;
    font-weight: 500;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.learn-chip:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ================= WHY HIRE ME ================= */

.hire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.hire-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 38px 26px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hire-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.hire-card i { font-size: 1.9rem; color: var(--accent); margin-bottom: 16px; }
.hire-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.hire-card p { color: var(--muted); font-size: 0.88rem; }

/* ================= CONTACT ================= */

.contact-banner {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 30px;
    margin-bottom: 34px;
}

.contact-banner p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.contact-card i { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 0.88rem; word-break: break-word; }

/* ================= FOOTER ================= */

footer {
    text-align: center;
    padding: 30px 8%;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.83rem;
}

/* ================= ANIMATIONS ================= */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 960px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-text { border-left: none; border-top: 2px solid var(--accent); padding-left: 0; padding-top: 20px; }
}

@media (max-width: 900px) {
    .hero-inner { flex-direction: column-reverse; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-btn { justify-content: center; }
    .hero-photo-wrap { width: 240px; height: 240px; }
    .hero-photo { width: 220px; height: 220px; }
    .chip-3 { right: -10px; }
    .chip-1 { left: 0; }
    .chip-2 { right: -6px; }
}

@media (max-width: 700px) {
    header { flex-direction: column; gap: 14px; padding: 16px 6%; position: relative; }
    header nav { gap: 18px; flex-wrap: wrap; justify-content: center; }
    .hero { padding-top: 30px; }
    .hero-text h1 { font-size: 2.6rem; }
    section { padding: 70px 6%; }
    .section-head h2 { font-size: 1.9rem; }
    .education-top { flex-direction: column; }
}

@media (max-width: 420px) {
    .hero-text h1 { font-size: 2.1rem; }
    .hero-photo-wrap { width: 190px; height: 190px; }
    .hero-photo { width: 170px; height: 170px; }
    .chip { font-size: 0.68rem; padding: 5px 10px; }
    .hero-btn { flex-direction: column; width: 100%; }
    .hero-btn .btn, .hero-btn .btn2 { text-align: center; }
    section { padding: 60px 6%; }
    .about-lead { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}