:root {
    --bg-0: #0f0f23;
    --bg-1: #1a1a3e;
    --text: #ffffff;
    --text-muted: #a0a0b8;
    --text-faint: #606080;
    --violet-1: #667eea;
    --violet-2: #764ba2;
    --amber-1: #f59e0b;
    --amber-2: #d97706;
    --green: #22c55e;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-0);
    min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
}

/* Halos d'ambiance en fond */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%); }
.ambient .orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; animation: float 18s ease-in-out infinite; }
.ambient .orb-1 { width: 480px; height: 480px; top: -120px; left: -100px; background: var(--violet-1); }
.ambient .orb-2 { width: 420px; height: 420px; top: 30%; right: -140px; background: var(--violet-2); animation-delay: -6s; }
.ambient .orb-3 { width: 360px; height: 360px; bottom: -120px; left: 25%; background: var(--amber-1); opacity: 0.18; animation-delay: -11s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -40px); } }

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

/* Barre de navigation */
.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(15, 15, 35, 0.6);
    border-bottom: 1px solid var(--card-border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.3px; color: var(--text); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 9px 18px; border-radius: 8px; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); color: #fff !important; font-weight: 600; }
.nav-cta:hover { box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4); }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Hero */
header { text-align: center; padding: 90px 0 40px; }
.avatar-ring { width: 128px; height: 128px; margin: 0 auto 26px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); box-shadow: 0 14px 34px rgba(102, 126, 234, 0.4); }
.avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 38%; display: block; border: 3px solid var(--bg-0); }
.availability {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 28px;
    background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--green); font-size: 0.82rem; font-weight: 600;
}
.hero-meta { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.hero-meta .availability { margin-bottom: 0; }
.meta-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border); color: var(--text-muted); }
.availability .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

header h1 { font-size: 3.4rem; font-weight: 800; margin-bottom: 16px; line-height: 1.05; background: linear-gradient(135deg, var(--violet-1) 0%, var(--violet-2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
header .role { font-size: 1.25rem; color: var(--text); font-weight: 600; margin-bottom: 14px; }
header .pitch { font-size: 1.05rem; color: var(--text-muted); font-weight: 300; max-width: 620px; margin: 0 auto 14px; line-height: 1.65; }
header .proof { font-size: 0.9rem; color: var(--text-faint); margin-bottom: 34px; }
header .proof strong { color: var(--text-muted); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-cta a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 10px; text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: all 0.25s ease; }
.cta-primary { background: linear-gradient(135deg, var(--violet-1) 0%, var(--violet-2) 100%); color: #fff; }
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(102, 126, 234, 0.45); }
.cta-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.cta-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* Sections */
.section-title { display: flex; align-items: center; gap: 15px; margin: 70px 0 30px 0; }
.section-title h2 { font-size: 1.8rem; font-weight: 700; color: #fff; }
.section-title .line { flex-grow: 1; height: 1px; background: linear-gradient(90deg, rgba(102, 126, 234, 0.5), transparent); }
.section-title .badge { padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-pro { background: linear-gradient(135deg, var(--amber-1), var(--amber-2)); color: #fff; }
.badge-perso { background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); color: #fff; }
.badge-parcours { background: linear-gradient(135deg, #ec4899, #db2777); color: #fff; }
.badge-avis { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.project-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px; transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; position: relative; overflow: hidden; }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--violet-1), var(--violet-2)); opacity: 0; transition: opacity 0.3s ease; }
.project-card.pro::before { background: linear-gradient(90deg, var(--amber-1), var(--amber-2)); }
.project-card:hover { transform: translateY(-5px); border-color: rgba(102, 126, 234, 0.3); background: rgba(255, 255, 255, 0.05); }
.project-card:hover::before { opacity: 1; }
.project-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; color: #fff; padding-right: 100px; }
.project-card p { color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; font-size: 0.95rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.project-tags span { background: rgba(118, 75, 162, 0.15); color: #c4a7e7; padding: 4px 12px; border-radius: 12px; font-size: 0.8rem; }
.project-card.pro .project-tags span { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.project-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.project-links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; }
.btn-demo { background: linear-gradient(135deg, var(--violet-1) 0%, var(--violet-2) 100%); color: #fff; }
.btn-demo:hover { transform: scale(1.05); box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4); }
.btn-demo.pro { background: linear-gradient(135deg, var(--amber-1) 0%, var(--amber-2) 100%); }
.btn-demo.pro:hover { box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4); }
.btn-github { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-github:hover { background: rgba(255, 255, 255, 0.15); }
.status { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 500; }
.status.online { background: rgba(34, 197, 94, 0.2); color: var(--green); }
.card-coming-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 250px; border-style: dashed; border-color: rgba(255, 255, 255, 0.15); }
.card-coming-soon h3 { color: var(--text-faint); padding-right: 0; }
.card-coming-soon p { color: #505070; }

/* Lien "voir le détail" sur les cartes */
.btn-detail { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.btn-detail:hover { background: rgba(255, 255, 255, 0.12); }
.card-detail-link { position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.project-card .project-tags, .project-card .project-links { position: relative; z-index: 2; }
.project-card.is-clickable { cursor: pointer; }
.project-card .card-hint { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--violet-1); font-weight: 600; margin-left: auto; }
.project-card.pro .card-hint { color: var(--amber-1); }

/* Compétences */
.badge-skills { background: linear-gradient(135deg, var(--green), #16a34a); color: #fff; }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.skill-group { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 28px 30px; transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.skill-group:hover { transform: translateY(-4px); border-color: rgba(102, 126, 234, 0.3); background: rgba(255, 255, 255, 0.05); }
.skill-group-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 22px; }
.skill-group-title .dot-cat { width: 9px; height: 9px; border-radius: 50%; }
.g-back .dot-cat { background: var(--violet-1); }
.g-front .dot-cat { background: var(--amber-1); }
.g-other .dot-cat { background: var(--green); }
.skill { margin-bottom: 18px; }
.skill:last-child { margin-bottom: 0; }
.skill-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.skill-head .name { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.skill-head .lvl { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.skill-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.skill-fill { height: 100%; width: 0; border-radius: 999px; transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.g-back .skill-fill { background: linear-gradient(90deg, var(--violet-1), var(--violet-2)); }
.g-front .skill-fill { background: linear-gradient(90deg, var(--amber-1), var(--amber-2)); }
.g-other .skill-fill { background: linear-gradient(90deg, var(--green), #16a34a); }
.g-ops .dot-cat { background: #06b6d4; }
.g-ops .skill-fill { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.g-db .dot-cat { background: #3b82f6; }
.g-db .skill-fill { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.g-tools .dot-cat { background: #ec4899; }
.g-tools .skill-fill { background: linear-gradient(90deg, #ec4899, #db2777); }
.skill-group.reveal.visible .skill-fill { width: var(--lvl); }

/* Bloc "également dans ma stack" (mots-clés) */
.skills-extra { margin-top: 24px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 24px 28px; }
.skills-extra-title { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.skills-extra-title .dot-cat { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.skills-extra .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skills-extra .tags span { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border); color: var(--text-muted); padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; }

/* Ligne "recherche CDI / remote" du hero */
header .seeking { font-size: 1rem; color: var(--text); font-weight: 500; max-width: 640px; margin: 0 auto 30px; line-height: 1.5; }
header .seeking strong { color: var(--amber-1); font-weight: 700; }

/* Avis clients */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(102, 126, 234, 0.3); background: rgba(255, 255, 255, 0.05); }
.testimonial-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.testimonial-quote { font-family: Georgia, 'Times New Roman', serif; font-size: 3rem; line-height: 0.8; color: rgba(102, 126, 234, 0.45); }
.testimonial-stars { color: var(--amber-1); letter-spacing: 2px; font-size: 0.95rem; margin-top: 6px; }
.testimonial-text { color: var(--text-muted); font-style: italic; line-height: 1.65; font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.testimonial-role { color: var(--text-faint); font-size: 0.85rem; }

/* À propos */
.badge-about { background: linear-gradient(135deg, #06b6d4, #0891b2); color: #fff; }
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: stretch; }
.about-text { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 32px 34px; }
.about-text p { color: var(--text-muted); line-height: 1.75; font-size: 1rem; margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 22px 18px; text-align: center; display: flex; flex-direction: column; justify-content: center; transition: transform 0.3s ease, border-color 0.3s ease; }
.stat:hover { transform: translateY(-4px); border-color: rgba(102, 126, 234, 0.3); }
a.stat { text-decoration: none; cursor: pointer; }
a.stat:hover { border-color: rgba(245, 158, 11, 0.5); }
.stat-num { font-size: 1.7rem; font-weight: 800; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text-faint); font-size: 0.82rem; margin-top: 6px; line-height: 1.35; }

/* Parcours (timeline) */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--violet-1), var(--violet-2), transparent); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-0); border: 3px solid var(--violet-1); box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15); }
.tl-item.edu .tl-dot { border-color: var(--amber-1); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15); }
.tl-date { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--violet-1); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.tl-item.edu .tl-date { color: var(--amber-1); }
.tl-content h3 { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.tl-org { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; margin-bottom: 12px; }
.tl-content p { color: var(--text-muted); line-height: 1.65; font-size: 0.93rem; margin-bottom: 12px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tags span { background: rgba(118, 75, 162, 0.15); color: #c4a7e7; padding: 3px 11px; border-radius: 12px; font-size: 0.78rem; }

/* Contact */
.contact { margin: 90px 0 30px; text-align: center; padding: 56px 30px; border-radius: 20px; background: var(--card-bg); border: 1px solid var(--card-border); }
.contact h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 12px; }
.contact p { color: var(--text-muted); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.contact-meta { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 24px; }
.contact-meta a { color: var(--text-muted); text-decoration: none; }
.contact-meta a:hover { color: var(--text); }

footer { margin-top: 50px; padding: 26px 0 44px; border-top: 1px solid var(--card-border); color: var(--text-faint); text-align: center; font-size: 0.9rem; }
footer a { color: var(--violet-1); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Focus clavier visible (accessibilité) */
a:focus-visible, button:focus-visible { outline: 2px solid var(--violet-1); outline-offset: 3px; border-radius: 6px; }

/* Page d'erreur (404) */
.error-page { text-align: center; padding: 110px 20px 90px; max-width: 640px; margin: 0 auto; }
.error-code { font-size: 8rem; font-weight: 800; line-height: 1; margin-bottom: 10px; background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.error-page h1 { font-size: 1.9rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.error-page p { color: var(--text-muted); line-height: 1.7; font-size: 1.02rem; margin-bottom: 34px; }
@media (max-width: 640px) { .error-code { font-size: 5.5rem; } .error-page h1 { font-size: 1.5rem; } }

/* ===================== Page détail d'un projet ===================== */
.detail-wrap { padding: 50px 0 30px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; margin-bottom: 28px; transition: color 0.2s ease; }
.breadcrumb:hover { color: var(--text); }
.detail-badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.detail-head h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 10px; line-height: 1.1; }
.detail-head h1 .emoji { -webkit-text-fill-color: initial; -webkit-background-clip: initial; background-clip: initial; background: none; color: initial; }
.detail-head .tagline { font-size: 1.15rem; color: var(--text-muted); font-weight: 400; max-width: 720px; line-height: 1.6; margin-bottom: 10px; }
.detail-head .period { color: var(--text-faint); font-size: 0.9rem; font-weight: 600; }
.detail-head .project-links { margin-top: 26px; }

.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; margin-top: 44px; align-items: start; }
.detail-block { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px 32px; margin-bottom: 30px; }
.detail-block h2 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.detail-block h2 .bar { width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, var(--violet-1), var(--violet-2)); }
.detail-block p { color: var(--text-muted); line-height: 1.75; font-size: 1rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; color: var(--text-muted); line-height: 1.6; font-size: 0.97rem; }
.feature-list li::before { content: '▹'; color: var(--violet-1); font-weight: 700; flex-shrink: 0; }
.stack-group { margin-bottom: 20px; }
.stack-group:last-child { margin-bottom: 0; }
.stack-group .stack-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-faint); font-weight: 600; margin-bottom: 10px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags span { background: rgba(118, 75, 162, 0.15); color: #c4a7e7; padding: 5px 13px; border-radius: 12px; font-size: 0.82rem; }
.detail-aside .detail-block { position: sticky; top: 90px; }

/* Variante "pro" (ambre) de la page détail */
.detail-pro .detail-badge { background: linear-gradient(135deg, var(--amber-1), var(--amber-2)); color: #fff; }
.detail-pro .detail-head h1 { background: linear-gradient(135deg, var(--amber-1), var(--amber-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.detail-pro .detail-block h2 .bar { background: linear-gradient(180deg, var(--amber-1), var(--amber-2)); }
.detail-pro .feature-list li::before { color: var(--amber-1); }
.detail-pro .stack-tags span { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.detail-perso .detail-badge { background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); color: #fff; }
.detail-perso .detail-head h1 { background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
    header { padding: 60px 0 30px; }
    header h1 { font-size: 2.3rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .about { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.4rem; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-aside .detail-block { position: static; }
    .detail-head h1 { font-size: 2rem; }
}
