/* =====================
   ROOT & RESET
   ===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #FAF7F2;
    --dark: #161412;
    --forest: #1E3A2F;
    --forest-light: #2e5944;
    --gold: #C8872A;
    --gold-light: #E8A84A;
    --muted: #6B6560;
    --border: rgba(22, 20, 18, 0.1);
    --card-bg: #FFFFFF;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--dark);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =====================
   NAVBAR
   ===================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

nav.scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
    padding: 14px 60px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

nav ul a {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

nav ul a:hover {
    color: var(--dark);
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    border: 1px solid var(--dark);
    padding: 8px 18px;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
    background: var(--dark);
    color: var(--cream);
}

/* =====================
   HERO
   ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    background: var(--forest);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(200,135,42,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200,135,42,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(200,135,42,0.15);
    border: 1px solid rgba(200,135,42,0.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 48px;
    animation: fadeDown 0.8s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(72px, 12vw, 140px);
    line-height: 0.9;
    letter-spacing: -2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: fadeUp 0.9s ease 0.1s both;
}

.hero-title .italic {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    margin-top: 28px;
    font-size: 16px;
    font-weight: 300;
    color: rgba(250,247,242,0.65);
    letter-spacing: 0.05em;
    animation: fadeUp 0.9s ease 0.2s both;
}

.hero-links {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    animation: fadeUp 0.9s ease 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--cream);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid rgba(250,247,242,0.3);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline:hover {
    border-color: rgba(250,247,242,0.7);
    background: rgba(250,247,242,0.07);
    transform: translateY(-1px);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.35);
    animation: pulse 2s infinite;
}

/* =====================
   SECTION SHARED
   ===================== */
.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.section-label.light {
    color: rgba(200,135,42,0.8);
}

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

.section {
    padding: 100px 60px;
}

.section h2, .contact h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 48px;
    letter-spacing: -0.5px;
}

.alt-section {
    background: #F0EBE2;
}

/* =====================
   ABOUT
   ===================== */
.about {
    padding: 100px 60px;
}

.about-grid {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.about-text p {
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 16px;
    font-size: 15px;
}

.about-text p strong {
    color: var(--dark);
    font-weight: 500;
}

.about-facts {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fact-num {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--forest);
    line-height: 1;
}

.fact-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.avatar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-initials {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    background: var(--forest);
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
}

.avatar-tag {
    font-size: 12px;
    color: var(--muted);
    background: white;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
}

/* =====================
   SKILLS STRIP
   ===================== */
.skills-strip {
    background: var(--dark);
    padding: 28px 60px;
}

.skills-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.skills-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.4);
    white-space: nowrap;
    font-weight: 500;
}

.skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-pills span {
    font-size: 13px;
    font-weight: 400;
    color: var(--cream);
    background: rgba(250,247,242,0.08);
    border: 1px solid rgba(250,247,242,0.12);
    padding: 6px 16px;
    border-radius: 100px;
    transition: background 0.2s;
}

.skills-pills span:hover {
    background: rgba(250,247,242,0.15);
}

/* =====================
   TIMELINE
   ===================== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 107px;
    top: 32px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.timeline-year {
    font-size: 12px;
    color: var(--muted);
    text-align: right;
    line-height: 1.3;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: -5px;
    margin-top: 2px;
    box-shadow: 0 0 0 3px var(--cream);
}

.alt-section .timeline-dot {
    box-shadow: 0 0 0 3px #F0EBE2;
}

.timeline-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
}

.timeline-card h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--dark);
}

.timeline-org {
    font-size: 13px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-card p:not(.timeline-org) {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 300;
    line-height: 1.6;
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: rgba(30,58,47,0.08);
    color: var(--forest);
    padding: 4px 12px;
    border-radius: 100px;
    margin-right: 6px;
    margin-bottom: 4px;
}

/* =====================
   PROJECTS
   ===================== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(22,20,18,0.08);
}

.project-card.featured {
    border-color: rgba(30,58,47,0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    background: rgba(30,58,47,0.1);
    color: var(--forest);
    padding: 4px 12px;
    border-radius: 100px;
}

.project-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.project-links a:hover {
    color: var(--dark);
}

.project-card h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-card p {
    font-size: 14px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-stack span {
    font-size: 11px;
    font-weight: 500;
    background: var(--cream);
    color: var(--dark);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.add-card {
    border: 1.5px dashed var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-inner {
    text-align: center;
}

.add-icon {
    font-size: 28px;
    color: rgba(22,20,18,0.15);
    display: block;
    margin-bottom: 8px;
}

.add-card p {
    font-size: 13px;
    color: var(--muted) !important;
    margin-bottom: 0 !important;
}

/* =====================
   EDUCATION
   ===================== */
.edu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.edu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.edu-item:last-child {
    border-bottom: none;
}

.edu-item:hover {
    background: var(--cream);
}

.edu-icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    color: var(--cream);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-info {
    flex: 1;
}

.edu-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 3px;
}

.edu-info p {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
}

.edu-year {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
    white-space: nowrap;
}
.leadership-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.leadership-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(22,20,18,0.08);
}

.leadership-icon {
    width: 44px;
    height: 44px;
    background: rgba(200,135,42,0.12);
    color: var(--gold);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.leadership-card h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--dark);
}

.leadership-card p {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
}
/* =====================
   CONTACT
   ===================== */
.contact {
    background: var(--forest);
    color: var(--cream);
    padding: 100px 60px;
    text-align: center;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    color: var(--cream);
    margin-bottom: 16px;
}

.contact p {
    color: rgba(250,247,242,0.65);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(250,247,242,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

a.contact-link:hover {
    color: var(--gold-light);
}

.contact-divider {
    color: rgba(250,247,242,0.2);
}

/* =====================
   FOOTER
   ===================== */
footer {
    background: var(--dark);
    color: rgba(250,247,242,0.3);
    text-align: center;
    padding: 20px;
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.7; }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
    nav {
        padding: 16px 24px;
    }

    nav.scrolled {
        padding: 12px 24px;
    }

    nav ul {
        display: none;
    }

    .hero { padding: 100px 24px 60px; }

    .about { padding: 60px 24px; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual { order: -1; }

    .avatar-initials { width: 120px; height: 120px; font-size: 32px; }

    .section { padding: 60px 24px; }

    .skills-strip { padding: 24px; }
    .skills-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

    .timeline-item { grid-template-columns: 1fr; }
    .timeline-meta { flex-direction: row; align-items: center; }
    .timeline-item::after { display: none; }

    .projects-grid { grid-template-columns: 1fr; }
    .leadership-grid { grid-template-columns: 1fr; }

    .contact { padding: 60px 24px; }
    .contact-links { flex-direction: column; }
    .contact-divider { display: none; }

    .about-facts { gap: 20px; }
}
