/* ===========================
   ROOT & RESET
=========================== */
:root {
    --bg: #080808;
    --bg2: #0d0d0d;
    --surface: #161616;
    --surface2: #1e1e1e;
    --accent: #00ff87;
    --accent2: #00d4ff;
    --text: #f0f0f0;
    --text-muted: #888;
    --border: rgba(255,255,255,0.08);
    --font-display: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --radius: 16px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-mono);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===========================
   CURSOR (desktop only)
=========================== */
@media (pointer: fine) {
    body { cursor: none; }
    .cursor {
        position: fixed;
        width: 10px; height: 10px;
        background: var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.15s, height 0.15s;
        mix-blend-mode: difference;
    }
    .cursor-trail {
        position: fixed;
        width: 32px; height: 32px;
        border: 1.5px solid rgba(0,255,135,0.5);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: all 0.1s ease;
    }
}

/* ===========================
   NAV
=========================== */
.nav {
    position: fixed;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(8,8,8,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 12px 28px;
    transition: box-shadow 0.3s;
    white-space: nowrap;
}

.nav.scrolled { box-shadow: 0 8px 40px rgba(0,255,135,0.08); }

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
}
.nav-logo span { color: var(--accent); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* Mobile nav */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===========================
   HERO
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 8vw;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}

/* Giant bg watermark */
.hero-bg-text {
    position: absolute;
    right: -2vw; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(160px, 25vw, 340px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.04);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0;
    animation: revealUp 0.7s 0.2s forwards;
}
.hero-tag::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

/* THE BIG NAME — fully visible */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(52px, 9vw, 120px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #ffffff; /* solid white — always visible */
}

.hero-title .line {
    display: block;
    opacity: 0;
    animation: revealUp 0.85s forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.45s; }

/* Accent line — outlined + colored */
.accent-line {
    color: var(--accent); /* solid green, fully visible */
    text-shadow: 0 0 60px rgba(0,255,135,0.3);
    position: relative;
}

/* Subtle glitch on accent line */
.accent-line::before {
    content: 'Abdallah';
    position: absolute; left: 3px; top: 0;
    color: var(--accent2);
    opacity: 0;
    clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%, 88%, 100% { opacity: 0; transform: translateX(0); }
    90% { opacity: 0.5; transform: translateX(-5px); }
    92% { opacity: 0.5; transform: translateX(5px); }
    94% { opacity: 0; }
}

.hero-sub {
    font-size: clamp(0.82rem, 1.4vw, 1rem);
    color: var(--text-muted);
    margin-bottom: 36px;
    opacity: 0;
    animation: revealUp 0.7s 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: revealUp 0.7s 0.75s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--accent);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 100px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,255,135,0.35); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: 1px solid rgba(255,255,255,0.15);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border-radius: 100px;
    color: var(--text-muted);
    transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px; left: 8vw;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeIn 1s 1.1s forwards;
}
.scroll-line {
    width: 50px; height: 1px;
    background: rgba(255,255,255,0.1);
    overflow: hidden; position: relative;
}
.scroll-line::after {
    content: ''; position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent);
    animation: scanLine 2s 1.5s infinite;
}
@keyframes scanLine { 0%{left:-100%} 100%{left:100%} }

/* Floating 3D cards */
.floating-cards {
    position: absolute;
    right: 6vw; top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 2;
}

.float-card {
    background: rgba(22,22,22,0.9);
    border: 1px solid rgba(0,255,135,0.15);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatCard var(--dur, 4s) ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    transform-style: preserve-3d;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.float-card:hover {
    border-color: rgba(0,255,135,0.4);
    box-shadow: 0 16px 48px rgba(0,255,135,0.12);
    color: var(--text);
}
.float-card .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    flex-shrink: 0;
}
.fc1 { --dur: 3.6s; --delay: 0s; }
.fc2 { --dur: 4.1s; --delay: 0.4s; }
.fc3 { --dur: 3.8s; --delay: 0.8s; }
.fc4 { --dur: 4.3s; --delay: 0.2s; }
.fc5 { --dur: 3.5s; --delay: 1s; }

@keyframes floatCard {
    0%   { transform: translateY(0) rotateX(2deg) rotateY(-3deg); }
    100% { transform: translateY(-14px) rotateX(-2deg) rotateY(3deg); }
}

/* ===========================
   SECTIONS — SHARED
=========================== */
.section-wrap { max-width: 1160px; margin: 0 auto; }

.section-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.section-label::after {
    content: '';
    height: 1px;
    background: var(--border);
    flex: 1;
    max-width: 180px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.0;
    margin-bottom: 48px;
    color: #fff; /* always visible */
}

/* ===========================
   ABOUT
=========================== */
.about {
    padding: 110px 8vw;
    background: var(--bg2);
    position: relative;
}
.about::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,255,135,0.4), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: start;
}

.photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
}
.about-photo {
    width: 100%; display: block;
    border-radius: 20px;
    filter: grayscale(15%);
    transition: filter 0.5s, transform 0.5s;
}
.about-photo:hover { filter: none; transform: scale(1.03); }

/* Glowing border around photo */
.photo-frame::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(0,255,135,0.15);
}

.photo-accent {
    position: absolute;
    top: -12px; right: -12px;
    width: 60px; height: 60px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.photo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 100px;
    margin-top: 16px;
}
.photo-tag::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #000;
    animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }

.about-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.95;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 36px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* ===========================
   SKILLS
=========================== */
.skills {
    padding: 110px 8vw;
    background: var(--bg);
    overflow: hidden;
}

.skills-marquee-wrap {
    overflow: hidden;
    margin: 0 -8vw 72px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}
.marquee-track span {
    display: inline-block;
    padding: 0 36px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    letter-spacing: -0.02em;
    cursor: default;
    transition: color 0.3s, -webkit-text-stroke 0.3s;
}
.marquee-track span:hover {
    color: var(--accent);
    -webkit-text-stroke: 1px var(--accent);
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 3D Tilt Cards */
.skill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
    will-change: transform;
}
.skill-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--px,50%) var(--py,50%), rgba(0,255,135,0.08) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.skill-card:hover::before { opacity: 1; }
.skill-card:hover {
    border-color: rgba(0,255,135,0.25);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,255,135,0.1);
}
/* Sheen line */
.skill-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.6s var(--ease);
    pointer-events: none;
}
.skill-card:hover::after { left: 150%; }

.skill-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.skill-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700;
    margin-bottom: 8px; color: #fff;
}
.skill-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.75; }

/* ===========================
   PROJECTS
=========================== */
.projects {
    padding: 110px 8vw;
    background: var(--bg2);
}

.projects-list { display: flex; flex-direction: column; }

.project-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: start;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: padding-left 0.4s var(--ease);
}
.project-item:hover { padding-left: 12px; }

/* Left accent bar on hover */
.project-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease);
}
.project-item:hover::before { transform: scaleY(1); }

/* Ambient glow */
.project-glow {
    position: absolute;
    left: -200px; top: 50%;
    transform: translateY(-50%);
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(0,255,135,0.07) 0%, transparent 70%);
    transition: left 0.5s var(--ease);
    pointer-events: none;
}
.project-item:hover .project-glow { left: -80px; }

.project-meta { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }

.project-num {
    font-size: 0.65rem; color: var(--accent);
    letter-spacing: 0.1em; font-family: var(--font-mono);
}
.project-tags { display: flex; flex-direction: column; gap: 4px; }
.project-tags span {
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text-muted); background: var(--surface2);
    padding: 3px 8px; border-radius: 4px; width: fit-content;
}

.project-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #fff;
    transition: color 0.3s;
}
.project-item:hover .project-name { color: var(--accent); }

.project-desc {
    font-size: 0.82rem; color: var(--text-muted);
    line-height: 1.85; max-width: 440px; margin-bottom: 18px;
}

.project-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.76rem; color: var(--accent);
    border-bottom: 1px solid rgba(0,255,135,0.3);
    padding-bottom: 2px;
    transition: gap 0.25s, border-color 0.25s;
}
.project-link:hover { gap: 12px; border-color: var(--accent); }
.project-link.muted { color: var(--text-muted); border-color: rgba(255,255,255,0.1); cursor: default; }

/* Project arrow icon */
.project-arrow {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.06);
    font-family: var(--font-display);
    font-weight: 800;
    transition: color 0.3s, transform 0.3s;
    align-self: center;
    user-select: none;
}
.project-item:hover .project-arrow { color: var(--accent); transform: translate(4px, -4px); }

/* ===========================
   CONTACT
=========================== */
.contact {
    padding: 110px 8vw;
    background: var(--bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,135,0.05) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-title {
    font-size: clamp(40px, 9vw, 100px) !important;
    line-height: 0.92 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
}
.contact-title span { color: var(--accent); }

.contact-sub {
    font-size: 0.85rem; color: var(--text-muted);
    max-width: 360px; margin: 0 auto 48px;
    line-height: 1.85;
}

.contact-cards {
    display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap;
}
.contact-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 36px; min-width: 190px;
    transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.contact-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}
.contact-card:hover::after { transform: scaleX(1); }
.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,255,135,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.cc-icon { font-size: 1.4rem; }
.cc-label {
    font-size: 0.6rem; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--text-muted);
}
.cc-value { font-size: 0.78rem; color: var(--text); }

/* ===========================
   FOOTER
=========================== */
.footer {
    padding: 24px 8vw;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.footer-inner {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center;
    justify-content: space-between;
    font-size: 0.72rem; color: var(--text-muted);
    flex-wrap: wrap; gap: 10px;
}
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff; }
.footer-logo span { color: var(--accent); }

/* ===========================
   SCROLL REVEAL
   (elements start visible, js adds/removes class)
=========================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   KEYFRAMES
=========================== */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 0.8; }
}

/* ===========================
   RESPONSIVE — TABLET (≤1024px)
=========================== */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 260px 1fr; gap: 48px; }
    .floating-cards { right: 3vw; }
    .float-card { font-size: 0.72rem; padding: 10px 16px; }
}

/* ===========================
   RESPONSIVE — MOBILE (≤768px)
=========================== */
@media (max-width: 768px) {
    /* Nav: hide links, show hamburger */
    .nav { gap: 16px; padding: 12px 20px; top: 14px; }
    .nav-links {
        display: none;
        position: fixed;
        top: 70px; left: 50%; transform: translateX(-50%);
        background: rgba(8,8,8,0.97);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 20px 28px;
        flex-direction: column;
        gap: 18px;
        text-align: center;
        width: calc(100vw - 48px);
        backdrop-filter: blur(20px);
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 0.85rem; color: var(--text); }
    .nav-hamburger { display: flex; }

    /* Hero */
    .hero { padding: 100px 6vw 60px; min-height: 100svh; }
    .hero-bg-text { display: none; }
    .floating-cards { display: none; }
    .hero-title { font-size: clamp(44px, 12vw, 72px); }
    .hero-scroll-hint { left: 6vw; }

    /* About */
    .about { padding: 80px 6vw; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-photo-wrap { max-width: 280px; }
    .about-stats { gap: 24px; }
    .stat-num { font-size: 2.2rem; }

    /* Skills */
    .skills { padding: 80px 6vw; }
    .skills-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .skill-card { padding: 24px 18px; }

    /* Projects */
    .projects { padding: 80px 6vw; }
    .project-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 0;
    }
    .project-meta { flex-direction: row; align-items: center; gap: 16px; }
    .project-tags { flex-direction: row; }
    .project-arrow { display: none; }
    .project-name { font-size: clamp(1.3rem, 6vw, 2rem); }

    /* Contact */
    .contact { padding: 80px 6vw; }
    .contact-title { font-size: clamp(38px, 10vw, 64px) !important; }
    .contact-cards { gap: 12px; }
    .contact-card { padding: 22px 24px; min-width: 140px; }
    .cc-value { font-size: 0.7rem; word-break: break-all; }

    /* Sections */
    .section-title { font-size: clamp(28px, 8vw, 48px); }
}

/* ===========================
   RESPONSIVE — SMALL MOBILE (≤420px)
=========================== */
@media (max-width: 420px) {
    .skills-grid { grid-template-columns: 1fr; }
    .about-stats { flex-wrap: wrap; gap: 20px; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
