/* ============================================================
   SAMUEL FAKIYESI — PORTFOLIO
   Colour Palette: Gold · Black · White
   ============================================================ */

:root {
    --gold:        #C9A84C;
    --gold-light:  #E8D5A3;
    --gold-dark:   #9A7A2E;
    --gold-glow:   rgba(201, 168, 76, 0.15);
    --black:       #0A0A0A;
    --black-soft:  #111111;
    --black-card:  #161616;
    --black-border:#222222;
    --white:       #FFFFFF;
    --white-soft:  #F0EDE6;
    --grey:        #888888;
    --grey-light:  #AAAAAA;
    --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:      4px;
    --radius-lg:   8px;
    --transition:  0.3s ease;
    --shadow:      0 4px 24px rgba(0,0,0,0.6);
    --shadow-gold: 0 4px 24px rgba(201,168,76,0.2);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--white-soft);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    letter-spacing: 0.01em;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 0.9rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--black-border), 0 4px 20px rgba(0,0,0,0.5);
    padding: 0.65rem 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo {
    font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
    color: var(--gold); letter-spacing: 0.05em;
    border: 1.5px solid var(--gold); width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}
.nav-logo:hover { background: var(--gold); color: var(--black); }
.nav-menu { display: flex; gap: 2rem; align-items: center; }
.nav-link {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--grey-light);
    transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--gold); transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn-nav-cv {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: transparent; color: var(--gold);
    border: 1px solid var(--gold); border-radius: var(--radius);
    transition: all var(--transition); white-space: nowrap;
}
.btn-nav-cv:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white-soft); transition: var(--transition); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; background: var(--black);
}
.hero-bg-pattern {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(201,168,76,0.025) 60px, rgba(201,168,76,0.025) 61px);
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.4;
}
.hero .container { position: relative; z-index: 1; width: 100%; }

/* Two-column layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5rem;
    align-items: center;
    padding: 7rem 0 6rem;
}
.hero-content { max-width: 680px; }

/* Text animations */
.hero-greeting {
    font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
    opacity: 0; animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-name {
    font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 600; line-height: 1; color: var(--white);
    letter-spacing: -0.01em; margin-bottom: 0.5rem;
    opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero-credentials {
    font-size: 0.82rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 1.1rem;
    opacity: 0; animation: fadeUp 0.8s ease forwards 0.55s;
}
.hero-title {
    font-size: clamp(0.9rem, 2vw, 1.25rem); font-weight: 400;
    color: var(--grey-light); letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 1.4rem;
    opacity: 0; animation: fadeUp 0.8s ease forwards 0.65s;
}
.hero-description {
    font-size: 1rem; color: var(--grey-light); max-width: 560px;
    line-height: 1.8; margin-bottom: 2rem;
    opacity: 0; animation: fadeUp 0.8s ease forwards 0.75s;
}

/* Stats */
.hero-stats {
    display: flex; align-items: center; gap: 1.75rem; margin-bottom: 2.5rem;
    padding: 1.25rem 0; border-top: 1px solid var(--black-border); border-bottom: 1px solid var(--black-border);
    opacity: 0; animation: fadeUp 0.8s ease forwards 0.85s;
}
.stat { text-align: center; }
.stat-number {
    display: block; font-family: var(--font-serif); font-size: 2rem;
    font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.stat-divider { width: 1px; height: 44px; background: var(--black-border); flex-shrink: 0; }

/* Buttons */
.hero-actions {
    display: flex; gap: 0.75rem; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.8s ease forwards 0.95s;
}
.btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.8rem 1.75rem; font-size: 0.76rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    border-radius: var(--radius); transition: all var(--transition); cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--black); border: 1.5px solid var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.btn-gold-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--black-border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Profile Photo */
.hero-photo-wrap {
    position: relative; flex-shrink: 0;
    opacity: 0; animation: fadeIn 1s ease forwards 0.8s;
}
.hero-photo {
    width: 300px; height: 360px;
    border: 1px solid var(--black-border); border-radius: var(--radius-lg);
    overflow: hidden; position: relative;
    background: var(--black-card);
    box-shadow: 0 0 0 1px var(--black-border), 8px 8px 0 0 var(--gold-dark);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: contrast(1.05) saturate(1.05); transition: transform 0.6s ease; }
.hero-photo:hover img { transform: scale(1.04); }
.photo-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center;
}
.photo-initials {
    font-family: var(--font-serif); font-size: 5rem; font-weight: 600;
    color: var(--gold); line-height: 1; opacity: 0.4;
}
.photo-hint {
    font-size: 0.72rem; color: var(--grey); line-height: 1.5;
    border: 1px dashed var(--black-border); padding: 0.75rem 1rem; border-radius: var(--radius);
}
.photo-badge {
    position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--gold); color: var(--black);
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.45rem 1rem; border-radius: 20px; white-space: nowrap;
    box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    opacity: 0; animation: fadeIn 1s ease forwards 1.5s;
}
.hero-scroll-indicator span {
    display: block; width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent); margin: 0 auto;
    animation: scrollPulse 2s ease infinite;
}

/* ============================================================
   CERTIFICATIONS BANNER
   ============================================================ */
.certs-banner {
    background: var(--black-card);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
    padding: 1.5rem 0;
}
.certs-inner {
    display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap;
}
.certs-label {
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--grey); font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.certs-list { display: flex; align-items: center; gap: 0; flex-wrap: wrap; flex: 1; }
.cert-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1.25rem; color: var(--white-soft); font-size: 0.78rem; font-weight: 500;
    transition: color var(--transition);
}
.cert-badge svg { color: var(--gold); flex-shrink: 0; }
.cert-badge:hover { color: var(--gold); }
.cert-divider { width: 1px; height: 20px; background: var(--black-border); flex-shrink: 0; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 7rem 0; }
.section-alt { background: var(--black-soft); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); display: block; margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500; color: var(--white); line-height: 1.15;
}
.title-underline { width: 48px; height: 2px; background: var(--gold); margin: 1.25rem auto 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-content { max-width: 860px; margin: 0 auto; }
.about-text p { color: var(--grey-light); margin-bottom: 1.25rem; font-size: 1.02rem; line-height: 1.85; }
.about-text p strong { color: var(--gold); font-weight: 600; }
.about-details {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--black-border);
}
.about-detail { display: flex; align-items: flex-start; gap: 1rem; }
.detail-icon {
    width: 36px; height: 36px; border: 1px solid var(--black-border);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--gold);
}
.detail-icon svg { width: 16px; height: 16px; }
.detail-label { display: block; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.2rem; }
.detail-value { display: block; font-size: 0.92rem; color: var(--white-soft); font-weight: 500; }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-categories { display: flex; flex-direction: column; gap: 3.5rem; }
.category-title {
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--black-border);
}
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.skill-card {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: var(--radius-lg); padding: 1.75rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative; overflow: hidden;
}
.skill-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 0; background: var(--gold); transition: height var(--transition);
}
.skill-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.skill-card:hover::before { height: 100%; }
.skill-icon {
    width: 44px; height: 44px; border: 1px solid var(--black-border); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; color: var(--gold);
    transition: background var(--transition), border-color var(--transition);
}
.skill-card:hover .skill-icon { background: var(--gold-glow); border-color: var(--gold); }
.skill-icon svg { width: 20px; height: 20px; }
.skill-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.skill-card p { font-size: 0.84rem; color: var(--grey); line-height: 1.65; margin-bottom: 1rem; }
.skill-level { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 2px; font-weight: 600; }
.skill-level.expert { background: rgba(201,168,76,0.12); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.skill-level.proficient { background: rgba(255,255,255,0.05); color: var(--grey-light); border: 1px solid var(--black-border); }

/* Tools Strip */
.tools-strip {
    margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--black-border);
    text-align: center;
}
.tools-strip-label {
    font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--grey); margin-bottom: 2rem; display: block;
}
.tools-list { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center; }
.tool-item {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.1rem; border: 1px solid var(--black-border);
    background: var(--black-card); border-radius: var(--radius);
    font-size: 0.78rem; color: var(--grey-light);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.tool-item svg { color: var(--gold); flex-shrink: 0; }
.tool-item:hover { border-color: var(--gold); color: var(--white); background: rgba(201,168,76,0.06); }

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.timeline {
    position: relative; padding-left: 2rem;
    max-width: 900px; margin: 0 auto;
}
.timeline::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0;
    width: 1px; background: linear-gradient(to bottom, var(--gold), var(--black-border) 90%);
}
.timeline-item { position: relative; margin-bottom: 3rem; padding-left: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker { position: absolute; left: -2rem; top: 4px; transform: translateX(-50%); }
.marker-dot {
    display: block; width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid var(--gold); background: var(--black);
    transition: background var(--transition), box-shadow var(--transition);
}
.timeline-item:hover .marker-dot { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.timeline-content {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: var(--radius-lg); padding: 2rem; transition: border-color var(--transition);
}
.timeline-item:hover .timeline-content { border-color: rgba(201,168,76,0.3); }
.timeline-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.timeline-date { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.timeline-badge { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 2px; font-weight: 700; }
.timeline-badge.current { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.4); }
.timeline-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.timeline-company { font-size: 0.85rem; color: var(--grey-light); font-weight: 500; margin-bottom: 0.9rem; }
.timeline-summary { font-size: 0.88rem; color: var(--grey-light); line-height: 1.7; margin-bottom: 1rem; }
.timeline-content ul { display: flex; flex-direction: column; gap: 0.45rem; }
.timeline-content li { font-size: 0.86rem; color: var(--grey); padding-left: 1.1rem; position: relative; line-height: 1.65; }
.timeline-content li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 5px; height: 1px; background: var(--gold); }

/* Education */
.education-strip { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--black-border); }
.education-strip-title { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; text-align: center; }
.education-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; max-width: 900px; margin: 0 auto; }
.edu-card { background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; gap: 1.25rem; transition: border-color var(--transition); }
.edu-card:hover { border-color: rgba(201,168,76,0.3); }
.edu-year { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; white-space: nowrap; padding-top: 2px; min-width: 60px; }
.edu-body h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.edu-body p { font-size: 0.8rem; color: var(--grey-light); margin-bottom: 0.4rem; }
.edu-detail { font-size: 0.73rem; color: var(--grey); line-height: 1.5; }

/* ============================================================
   PROJECTS / CASE STUDIES
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.project-card {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column; gap: 1.1rem;
}
.project-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.project-header { display: flex; align-items: center; justify-content: space-between; }
.project-icon { width: 32px; height: 32px; color: var(--gold); }
.project-number { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 300; color: rgba(201,168,76,0.12); line-height: 1; }
.project-card h3 { font-size: 1rem; font-weight: 600; color: var(--white); line-height: 1.4; }

/* Case study blocks */
.case-study-blocks { display: flex; flex-direction: column; gap: 0.6rem; }
.cs-block {
    padding: 0.9rem 1rem; border-radius: var(--radius);
    border-left: 3px solid transparent;
}
.cs-block.problem { background: rgba(255,80,80,0.05); border-left-color: rgba(255,80,80,0.4); }
.cs-block.approach { background: rgba(201,168,76,0.06); border-left-color: rgba(201,168,76,0.4); }
.cs-block.outcome { background: rgba(80,200,120,0.05); border-left-color: rgba(80,200,120,0.4); }
.cs-label {
    display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; margin-bottom: 0.35rem;
}
.cs-block.problem .cs-label { color: rgba(255,120,120,0.9); }
.cs-block.approach .cs-label { color: var(--gold); }
.cs-block.outcome .cs-label { color: rgba(100,220,140,0.9); }
.cs-block p { font-size: 0.82rem; color: var(--grey-light); line-height: 1.6; }
.cs-block p strong { color: var(--gold); font-weight: 600; }

.project-deliverables { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.deliverable { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--gold); background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); padding: 0.25rem 0.6rem; border-radius: 2px; font-weight: 500; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.5rem; border-top: 1px solid var(--black-border); }
.tag { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--grey); background: rgba(255,255,255,0.04); border: 1px solid var(--black-border); padding: 0.25rem 0.65rem; border-radius: 2px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.testimonial-card {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: var(--radius-lg); padding: 2rem;
    display: flex; flex-direction: column; gap: 1.5rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative; overflow: hidden;
}
.testimonial-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.testimonial-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.testimonial-quote-icon { color: var(--gold); opacity: 0.3; }
.testimonial-text {
    font-family: var(--font-serif); font-size: 1.05rem;
    color: var(--white-soft); line-height: 1.75; font-style: italic; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--black-border); }
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--gold);
}
.author-name { display: block; font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 0.15rem; }
.author-role { display: block; font-size: 0.75rem; color: var(--grey); }
.testimonials-note {
    display: flex; align-items: center; gap: 0.4rem; justify-content: center;
    font-size: 0.75rem; color: var(--grey); font-style: italic;
    background: rgba(255,255,255,0.03); border: 1px dashed var(--black-border);
    border-radius: var(--radius); padding: 0.75rem 1.5rem; max-width: 600px; margin: 0 auto;
}
.testimonials-note svg { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-content { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-description { font-size: 1.05rem; color: var(--grey-light); max-width: 620px; margin: 0 auto 3rem; line-height: 1.8; }
.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.contact-card {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: var(--radius-lg); padding: 2rem 1.5rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.contact-card:not(.no-link):hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.contact-icon-wrap {
    width: 48px; height: 48px; border: 1px solid var(--black-border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--gold);
    transition: background var(--transition), border-color var(--transition); margin-bottom: 0.25rem;
}
.contact-card:not(.no-link):hover .contact-icon-wrap { background: var(--gold-glow); border-color: var(--gold); }
.contact-icon-wrap svg { width: 20px; height: 20px; }
.contact-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.contact-value { font-size: 0.85rem; color: var(--white-soft); font-weight: 500; word-break: break-all; }

.contact-cv-cta {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    padding: 2.5rem; background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
}
.contact-cv-cta p { font-size: 0.9rem; color: var(--grey-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black-soft); border-top: 1px solid var(--black-border); padding: 2.5rem 0; text-align: center; }
.footer-content { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.footer-name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); font-weight: 500; }
.footer-creds { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--gold); font-weight: 500; }
.footer-copy { font-size: 0.75rem; color: var(--grey); letter-spacing: 0.06em; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
    .hero-photo-wrap { display: none; }
}
@media (max-width: 768px) {
    .section { padding: 5rem 0; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(10,10,10,0.98); backdrop-filter: blur(16px);
        flex-direction: column; justify-content: center; gap: 1.5rem;
        padding: 2rem; border-left: 1px solid var(--black-border); transition: right var(--transition);
    }
    .nav-menu.open { right: 0; }
    .nav-link { font-size: 1rem; }
    .btn-nav-cv { font-size: 0.8rem; padding: 0.6rem 1.2rem; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .stat-divider { display: none; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-methods { grid-template-columns: 1fr 1fr; }
    .certs-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .certs-list { flex-direction: column; gap: 0.5rem; }
    .cert-divider { display: none; }
    .cert-badge { padding: 0.3rem 0; }
}
@media (max-width: 560px) {
    .skills-grid { grid-template-columns: 1fr; }
    .contact-methods { grid-template-columns: 1fr; }
    .education-cards { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .tools-list { gap: 0.5rem; }
}
