/* =========================================================
   MITVA — PORTFOLIO STYLES (minimal light theme)
   ========================================================= */

:root {
    --bg-dark: #fcfcfb;
    --bg-surface: #ffffff;
    --bg-elevated: #f4f4f2;
    --bg-input: #fafaf9;
    --bg-deep: #fafaf9;
    --bg-card: #ffffff;
    --bg-band: #f6f6f4;
    --accent: #0f766e;
    --accent-2: #14b8a6;
    --accent-hover: #115e59;
    --accent-glow: rgba(15, 118, 110, 0.16);
    --accent-soft: rgba(15, 118, 110, 0.07);
    --border-accent: rgba(15, 118, 110, 0.28);
    --on-accent: #ffffff;
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    --green: #16a34a;
    --green-soft: rgba(22, 163, 74, 0.08);
    --text-main: #1c1917;
    --text-muted: #57534e;
    --text-dim: #78716c;
    --border: #e7e5e4;
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
    --shadow-lg: 0 14px 34px rgba(28, 25, 23, 0.07);
    --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
    --font-sans: "Inter", -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    --nav-height: 76px;
    --container: 1240px;
    --radius: 16px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-padding-top: var(--nav-height); }

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }
strong { color: var(--text-main); font-weight: 600; }

::selection { background: var(--accent); color: var(--on-accent); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 52px);
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--text-dim) !important; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; width: 260px; }
.preloader-logo {
    width: 64px; height: 64px; margin: 0 auto 22px;
    display: grid; place-items: center;
    background: var(--gradient); color: var(--on-accent);
    font-family: var(--font-mono); font-weight: 700; font-size: 22px;
    border-radius: 8px;
    animation: pulseGlow 1.4s infinite;
}
.preloader-text { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 14px; }
.preloader-bar { height: 2px; background: rgba(148, 163, 184, .15); overflow: hidden; border-radius: 2px; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--accent); animation: load 1.3s var(--ease) forwards; }

@keyframes load { to { width: 100%; } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 0 14px transparent; } }

/* ---------- Background ---------- */
.bg-grid {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(900px 520px at 85% -10%, rgba(20, 184, 166, 0.07), transparent 65%),
        var(--bg-dark);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-height);
    border-bottom: 1px solid transparent;
    transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.navbar.scrolled {
    background: rgba(252, 252, 251, 0.9);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo-box {
    width: 40px; height: 40px; display: grid; place-items: center;
    background: var(--gradient); color: var(--on-accent);
    font-family: var(--font-display); font-weight: 800; font-size: 17px;
    border-radius: 12px;
    transition: transform .3s var(--ease);
}
.logo:hover .logo-box { transform: rotate(-6deg); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: 0.01em; white-space: nowrap; }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 30px); }
.nav-links a {
    font-family: var(--font-sans); font-size: 14.5px; font-weight: 500; white-space: nowrap;
    color: var(--text-muted); position: relative; padding: 6px 0;
    transition: color .25s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-highlight {
    padding: 8px 14px; border: 1px solid var(--border-accent); border-radius: 4px;
    background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 18px var(--accent-soft);
}
.nav-links a.nav-highlight i { font-size: 10px; margin-right: 4px; }
.nav-links a.nav-highlight::after { display: none; }
.nav-links a.nav-highlight:hover, .nav-links a.nav-highlight.active { background: var(--accent); color: var(--on-accent); }
.menu-list a.menu-highlight { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn {
    height: 46px; border: 1px solid var(--border); border-radius: 6px;
    background: var(--bg-surface); transition: border-color .25s, background .25s;
}
.menu-btn:hover { border-color: var(--border-accent); background: var(--bg-elevated); }

.menu-btn { width: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--text-main); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.scroll-progress {
    position: absolute; left: 0; bottom: -1px; height: 3px; width: 0;
    background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- Fullscreen Menu ---------- */
.menu-overlay {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-inner { padding-top: var(--nav-height); }
.menu-label { color: var(--text-dim); font-size: 13px; letter-spacing: 2px; margin-bottom: 26px; }
.menu-list { list-style: none; }
.menu-list li {
    overflow: hidden; border-bottom: 1px solid var(--border);
    transform: translateY(30px); opacity: 0;
    transition: transform .5s var(--ease), opacity .5s;
}
.menu-overlay.open .menu-list li { transform: none; opacity: 1; }
.menu-overlay.open .menu-list li:nth-child(2) { transition-delay: .04s; }
.menu-overlay.open .menu-list li:nth-child(3) { transition-delay: .08s; }
.menu-overlay.open .menu-list li:nth-child(4) { transition-delay: .12s; }
.menu-overlay.open .menu-list li:nth-child(5) { transition-delay: .16s; }
.menu-overlay.open .menu-list li:nth-child(6) { transition-delay: .2s; }
.menu-overlay.open .menu-list li:nth-child(7) { transition-delay: .24s; }
.menu-list a {
    display: flex; align-items: baseline; gap: 22px; padding: 10px 0;
    font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.15; letter-spacing: -0.025em;
    color: var(--text-muted); transition: color .25s, padding-left .35s var(--ease);
}
.menu-list a span { font-family: var(--font-mono); font-size: 14px; color: var(--text-dim); font-weight: 400; }
.menu-list a:hover { color: var(--accent); padding-left: 14px; }
.menu-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; color: var(--text-dim); font-size: 13px; }

/* ---------- Common Section ---------- */
.section { padding: clamp(52px, 6vw, 88px) 0; position: relative; }
main > .section:nth-of-type(even) {
    background: var(--bg-band);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; color: var(--accent);
    text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -0.025em;
    margin-bottom: 18px;
}
.section-desc { max-width: 640px; font-size: 16.5px; color: var(--text-muted); margin-bottom: 36px; }

.outline { color: var(--accent); }

.status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 12px; margin-bottom: 26px;
    font-size: 13px; font-weight: 500;
    color: #166534; background: var(--green-soft);
    border: 1px solid rgba(22, 163, 74, 0.2); border-radius: 999px;
}

.pulse-dot {
    position: relative; display: inline-block;
    width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}
.pulse-dot::after {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    background: var(--green); opacity: .35; animation: ping 1.8s infinite;
}
.pulse-dot.small { width: 8px; height: 8px; }
@keyframes ping { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px;
    font-family: var(--font-sans); font-size: 14.5px; font-weight: 600;
    border: 1px solid transparent;
    transition: all .3s var(--ease);
    position: relative; overflow: hidden;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px var(--accent-glow); }
.btn-outline { border-color: var(--text-main); color: var(--text-main); }
.btn-outline:hover { background: var(--text-main); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: var(--text-muted); border-color: var(--border); background: var(--bg-surface); }
.btn-ghost:hover { color: var(--text-main); border-color: var(--text-dim); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.expertise-card, .contact-info, .contact-form, .service-card, .engage-card, .process, .bring-item,
.project-card, .edu-card, .tl-card, .bench-card, .testimonial-card,
.hero-stats, .hire-path, .hire-tab, .featured-chip, .filter-btn, .typing-box {
    box-shadow: var(--shadow-sm);
}
.service-card:hover, .engage-card:hover, .bring-item:hover, .tl-card:hover, .edu-card:hover {
    box-shadow: var(--shadow-lg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: calc(var(--nav-height) + 60px) 0 70px;
}
.hero::before {
    content: ""; position: absolute; left: 50%; top: -220px; z-index: -1;
    width: 1100px; height: 620px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(20, 184, 166, .16), transparent 70%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; }
.hero-left, .hero-right { min-width: 0; }

/* profile split */
.hero-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy .status-badge { margin-bottom: 28px; }
.hero-greet { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--text-muted); margin-bottom: 4px; }
.hero-name {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(52px, 6.6vw, 96px); line-height: .98; letter-spacing: -0.045em;
    margin-bottom: 20px;
}
.hero-name .accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-role {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em;
    margin-bottom: 20px;
}
.hero-role-line { width: 44px; height: 3px; border-radius: 3px; background: var(--gradient); }
.hero-role-tags { display: flex; gap: 8px; }
.hero-role-tags span {
    padding: 4px 12px; border-radius: 999px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0;
    color: var(--accent); background: var(--accent-soft); border: 1px solid var(--border-accent);
}
.hero-copy .hero-desc { font-size: 17px; margin-bottom: 22px; }
.hero-copy .typing-box { display: inline-flex; min-height: 0; min-width: min(100%, 420px); max-width: 100%; margin-bottom: 28px; border-radius: 999px; padding: 10px 20px; }
.hero-copy .hero-buttons { margin-bottom: 28px; }
.hero-contact { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--text-muted); }
.hero-contact li, .hero-contact a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.hero-contact i { color: var(--accent); font-size: 13px; }
.hero-contact a { transition: color .25s; }
.hero-contact a:hover { color: var(--accent); }

/* avatar visual */
.hero-visual { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.profile-orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.profile-orbit::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 1.5px dashed var(--border-accent); animation: spin 50s linear infinite;
}
.profile-orbit::after {
    content: ""; position: absolute; inset: 10%; border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, .16), transparent 70%);
}
.avatar-ring {
    position: relative; z-index: 1; width: 66%; aspect-ratio: 1; padding: 6px; border-radius: 50%;
    background: conic-gradient(from 200deg, var(--accent), var(--accent-2), #99f6e4, var(--accent));
    box-shadow: 0 30px 60px rgba(15, 118, 110, .22);
}
.avatar {
    width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center;
    background: linear-gradient(160deg, #ffffff 30%, #ccfbf1); border: 6px solid #fff;
}
.avatar span {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 7vw, 104px); letter-spacing: -0.05em;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.float-chip, .float-icon {
    position: absolute; z-index: 2;
    background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    animation: floatY 6s ease-in-out infinite;
}
.float-chip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; white-space: nowrap; }
.chip-exp { top: 9%; left: -4%; }
.chip-exp strong {
    font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chip-exp span { font-size: 12px; line-height: 1.3; color: var(--text-muted); }
.chip-award { bottom: 15%; right: -6%; animation-delay: -3s; }
.chip-award i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fef3c7; color: #d97706; }
.chip-award strong { display: block; font-size: 14px; }
.chip-award small { display: block; font-size: 11.5px; color: var(--text-dim); }
.float-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; font-size: 27px; }
.icon-cs { top: 3%; right: 14%; animation-delay: -1s; }
.icon-net { top: 42%; right: -4%; animation-delay: -4s; }
.icon-react { bottom: 2%; left: 18%; animation-delay: -2s; }
.icon-sql { top: 52%; left: -5%; animation-delay: -5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.now-card {
    position: relative; z-index: 3; margin-top: 8px;
    display: flex; align-items: center; gap: 14px; padding: 14px 22px;
    background: #0f172a; color: #94a3b8; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.now-card small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: #5eead4; }
.now-card strong { display: block; color: #fff; font-size: 16px; }
.now-card span:not(.pulse-dot) { font-size: 13px; }

.hero .hero-stats { margin-top: 72px; }
.hero-tech { display: flex; align-items: center; gap: 14px 20px; margin-top: 20px; }
.hero-tech-label { flex-shrink: 0; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); }
.hero-tech .stack-list { gap: 8px; }
.hero-tech .stack-list span { padding: 7px 12px; font-size: 13.5px; gap: 8px; }
.hero-tech .stack-list i { font-size: 17px; }
.hero-tech .stack-list .fa-solid { font-size: 14px; }

.stack-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-list span {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 15px; border-radius: 12px; font-size: 14px; font-weight: 600;
    background: var(--bg-input); border: 1px solid var(--border);
    transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.stack-list span:hover { transform: translateY(-3px); border-color: var(--border-accent); background: var(--bg-surface); }
.stack-list i { font-size: 19px; }
.stack-list .fa-solid { color: var(--accent); font-size: 16px; }

.hero-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(38px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -0.035em;
    margin-bottom: 26px;
}
.hero-title .line { display: block; }
.hero-title .hero-hello {
    font-size: .42em; font-weight: 600; letter-spacing: -0.01em; color: var(--text-muted); margin-bottom: 12px;
}
.hero-title .accent,
.sub-count,
.stat-num {
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.typing-box {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 12px 18px; margin-bottom: 22px; max-width: 520px;
    background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px;
    min-height: 50px;
}
.typing-label { color: var(--text-dim); font-size: 12.5px; font-weight: 500; }
.typing-text { font-size: 15px; font-weight: 600; color: var(--accent); }
.typing-cursor { color: var(--accent); font-size: 18px; margin-left: -8px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-desc { font-size: 16.5px; color: var(--text-muted); max-width: 620px; margin-bottom: 26px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-location { font-size: 12.5px; letter-spacing: .3px; color: var(--text-dim); }
.hero-location i { color: var(--accent); margin-right: 6px; }

.hero-right { align-self: stretch; display: flex; flex-direction: column; }
.hero-info {
    flex: 1; display: flex; flex-direction: column; justify-content: space-between;
    margin-top: 26px; padding: 22px 24px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.hero-info-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.hero-info-label { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--green); }
.hero-info-since { font-size: 12px; color: var(--text-dim); }
.hero-info-role { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; }
.hero-info-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-input);
}
.hero-info-grid > div { padding: 12px 14px; border-right: 1px solid var(--border); }
.hero-info-grid > div:last-child { border-right: none; }
.hero-info-grid small { display: block; font-size: 11px; color: var(--text-dim); margin-bottom: 2px; }
.hero-info-grid strong { font-size: 14px; }
.hero-stack { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; }
.hero-stack-label { font-size: 11.5px; color: var(--text-dim); }
.hero-stack-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-stack-icons i {
    width: 36px; height: 36px; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 8px; background: var(--bg-surface);
    font-size: 18px; transition: transform .3s var(--ease), border-color .3s;
}
.hero-stack-icons .fa-stripe { color: #635bff; font-size: 22px; }
.hero-stack-icons .fa-aws { color: #ff9900; }
.hero-stack-icons i:hover { transform: translateY(-3px); border-color: var(--border-accent); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: 56px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--bg-card); overflow: hidden;
}
.stat { padding: 22px 26px; border-right: 1px solid var(--border); transition: background .3s; }
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg-input); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -0.03em; }
.stat-label { font-size: 12px; color: var(--text-dim); margin-top: 8px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-head {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 60px; align-items: end;
    margin-bottom: clamp(30px, 4vw, 48px);
}
.about-head .section-title { margin-bottom: 0; }
.about-lead { font-size: 17.5px; line-height: 1.75; color: var(--text-muted); }

.about-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: stretch; }

/* profile card */
.profile-card {
    display: flex; flex-direction: column; gap: 18px;
    padding: 28px; border-radius: 22px;
    background: #0f172a; color: #e2e8f0;
    box-shadow: 0 24px 50px rgba(15, 23, 42, .18);
    position: relative; overflow: hidden;
}
.profile-card::before {
    content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(94, 234, 212, .28), transparent);
    pointer-events: none;
}
.profile-top { display: flex; align-items: center; gap: 16px; position: relative; }
.profile-avatar {
    width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; border-radius: 18px;
    background: var(--gradient); color: #fff;
    font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
}
.profile-top h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
.profile-top p { color: #5eead4; font-size: 14px; font-weight: 600; margin-top: 2px; }
.profile-status {
    align-self: flex-start; margin: 0; font-size: 12.5px;
    color: #bbf7d0; background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .25);
}
.profile-facts { list-style: none; border-top: 1px solid rgba(148, 163, 184, .18); }
.profile-facts li {
    display: grid; grid-template-columns: 18px 86px minmax(0, 1fr); align-items: center; gap: 10px;
    padding: 12px 0; border-bottom: 1px solid rgba(148, 163, 184, .18); font-size: 14px;
}
.profile-facts i { color: #5eead4; font-size: 14px; text-align: center; }
.profile-facts span { color: #94a3b8; font-size: 13px; }
.profile-facts strong { color: #fff; font-weight: 600; text-align: right; }
.profile-quote {
    margin-top: auto; padding-left: 14px; border-left: 3px solid #14b8a6;
    font-family: var(--font-display); font-size: 16px; font-style: italic; font-weight: 600; line-height: 1.45; color: #cbd5e1;
}
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-actions .btn { justify-content: center; padding-left: 12px; padding-right: 12px; }
.profile-actions .btn-primary { background: #14b8a6; box-shadow: none; }
.profile-actions .btn-primary:hover { background: #0d9488; }
.profile-actions .btn-outline { border-color: rgba(226, 232, 240, .4); color: #fff; }
.profile-actions .btn-outline:hover { background: #fff; color: #0f172a; border-color: #fff; }

/* highlights */
.about-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.about-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.highlight-card {
    padding: 22px 22px 20px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-accent); }
.highlight-icon {
    width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px;
    border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 18px;
    transition: background .3s, color .3s;
}
.highlight-card:hover .highlight-icon { background: var(--accent); color: #fff; }
.highlight-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.highlight-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }

/* end-to-end flow */
.about-flow {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 22px 24px; border: 1px dashed var(--border-accent); border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(15, 118, 110, .05), rgba(20, 184, 166, .02));
}
.about-flow-label { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.flow-steps { display: flex; align-items: center; gap: 12px; }
.flow-step {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border);
}
.flow-icon {
    width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px;
    background: var(--bg-elevated); font-size: 22px;
}
.flow-step strong { display: block; font-size: 14.5px; line-height: 1.25; }
.flow-step small { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.4; margin-top: 2px; }
.flow-arrow { color: var(--accent); font-size: 14px; flex-shrink: 0; }

.about-text { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.about-quote {
    border-left: 3px solid var(--accent); padding: 6px 0 6px 18px; margin: 22px 0;
    font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; font-style: italic;
    line-height: 1.4; letter-spacing: -0.01em; color: var(--text-main);
}
.about-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.expertise-card, .contact-info, .contact-form {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(26px, 3vw, 40px);
}
.expertise-head { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.expertise-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.expertise-item {
    display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border);
    transition: padding-left .3s var(--ease);
}
.expertise-item:hover { padding-left: 8px; }
.expertise-icon {
    width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 12px; background: var(--accent-soft);
    color: var(--accent); font-size: 19px;
}
.expertise-item h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.expertise-item p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* =========================================================
   HIRE PATHS (HERO) & NAV HIRE BUTTON
   ========================================================= */
.nav-hire, .nav-resume { padding: 0 20px; height: 42px; font-size: 14px; }

.hire-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; max-width: 680px; }
.hire-path {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px; border: 1px solid var(--border-accent); border-radius: 10px;
    background: var(--bg-card);
    transition: transform .35s var(--ease), border-color .3s, background .3s, box-shadow .35s;
}
.hire-path:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 12px 40px var(--accent-glow); }
.hire-path-icon {
    width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 8px; background: var(--gradient); color: var(--on-accent); font-size: 16px;
}
.hire-path-text { flex: 1; min-width: 0; }
.hire-path-text small { display: block; font-size: 10.5px; letter-spacing: 1.5px; color: var(--text-dim); }
.hire-path-text strong { font-size: 15px; }
.hire-path-arrow { color: var(--text-dim); transition: transform .3s var(--ease), color .3s; }
.hire-path:hover .hire-path-arrow { transform: translateX(5px); color: var(--accent); }

.hero-location { display: flex; flex-wrap: wrap; gap: 10px 26px; }

/* =========================================================
   SERVICES / HIRE ME
   ========================================================= */
.hire-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.hire-tab {
    display: flex; align-items: center; gap: 18px; text-align: left;
    padding: 18px 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-surface);
    font-family: var(--font-display); font-size: clamp(17px, 1.5vw, 19px); font-weight: 700; letter-spacing: -0.01em;
    color: var(--text-muted); transition: all .3s var(--ease);
}
.hire-tab i { font-size: 22px; color: var(--text-dim); transition: color .3s; }
.hire-tab small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .3px; color: var(--text-dim); margin-bottom: 2px; }
.hire-tab:hover { border-color: var(--border-accent); color: var(--text-main); }
.hire-tab.active { border-color: var(--accent); color: var(--text-main); background: var(--accent-soft); box-shadow: none; }
.hire-tab.active i { color: var(--accent); }

.hire-panel { display: none; }
.hire-panel.active { display: block; animation: fadeIn .5s var(--ease); }

.sub-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin: 40px 0 16px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-accent); }
.service-icon {
    width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
    border-radius: 12px; background: var(--accent-soft);
    color: var(--accent); font-size: 19px;
}
.service-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.service-card .tags { margin: auto 0 0; gap: 8px; }
.service-card .tag { font-size: 11.5px; padding: 5px 10px; }

.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engage-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
    transition: transform .4s var(--ease), border-color .3s;
}
.engage-card:hover { transform: translateY(-6px); border-color: var(--border-accent); }
.engage-card.popular { border-color: var(--accent); box-shadow: 0 12px 30px var(--accent-glow); }
.popular-badge {
    position: absolute; top: -12px; right: 24px; padding: 5px 12px; border-radius: 3px;
    background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
}
.engage-top { display: flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 16px; }
.engage-top span { font-size: 12px; letter-spacing: 1.8px; color: var(--text-dim); }
.engage-card h4 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.engage-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.engage-card ul { list-style: none; border-top: 1px solid var(--border); padding-top: 16px; }
.engage-card li { position: relative; padding-left: 24px; margin-bottom: 6px; font-size: 14px; color: var(--text-muted); }
.engage-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.process-step { padding: 20px 18px; border-right: 1px solid var(--border); position: relative; transition: background .3s; }
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--accent-soft); }
.process-step span { display: block; font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.process-step h5 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.process-step p { color: var(--text-muted); font-size: 13.5px; }

.hire-cta {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
    margin-top: 32px; padding: 26px 30px; border-radius: var(--radius);
    border: 1px solid var(--border-accent);
    background: var(--accent-soft);
}
.hire-cta h4 { font-family: var(--font-display); font-size: clamp(21px, 2vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.hire-cta p { color: var(--text-muted); }
.hire-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.job-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.bring-list { display: grid; gap: 16px; }
.bring-item {
    display: flex; gap: 16px; padding: 20px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.bring-item:hover { border-color: var(--border-accent); transform: translateX(4px); }
.bring-item > i {
    width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 19px;
}
.bring-item h5 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.bring-item p { color: var(--text-muted); font-size: 14px; }

.job-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-sm); }
.pref-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.pref-row span { font-size: 12.5px; color: var(--text-dim); padding-top: 2px; }
.pref-row strong { font-size: 14.5px; font-weight: 500; }
.job-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================
   SKILLS
   ========================================================= */
.skills-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }

/* category tabs */
.skill-side { position: sticky; top: calc(var(--nav-height) + 24px); }
.skill-tabs {
    display: flex; flex-direction: column; gap: 6px; padding: 8px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.skill-tab {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 11px 12px; border-radius: 12px; text-align: left;
    font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--text-muted);
    transition: background .25s, color .25s;
}
.skill-tab:hover { background: var(--bg-input); color: var(--text-main); }
.skill-tab-icon {
    width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px;
    background: var(--bg-elevated); color: var(--text-muted); font-size: 15px; transition: background .25s, color .25s;
}
.skill-tab-label { flex: 1; }
.skill-tab-count {
    min-width: 28px; padding: 2px 8px; border-radius: 999px; text-align: center;
    font-size: 11.5px; color: var(--text-dim); background: var(--bg-elevated); transition: background .25s, color .25s;
}
.skill-tab.active { background: var(--text-main); color: #fff; }
.skill-tab.active .skill-tab-icon { background: var(--accent); color: #fff; }
.skill-tab.active .skill-tab-count { background: rgba(255, 255, 255, .14); color: #fff; }

.skill-legend {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-top: 16px; padding: 16px; border: 1px dashed var(--border); border-radius: var(--radius);
}
.skill-legend-title { width: 100%; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 2px; }

/* panel */
.skill-panel-head {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
    margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.skill-panel-head h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.skill-panel-head p { color: var(--text-muted); margin-top: 4px; }
.skill-panel-head > span { font-size: 12px; color: var(--text-dim); }

.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.skill-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    padding: 18px 18px 16px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); cursor: pointer;
    animation: cardIn .5s var(--ease) both;
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.skill-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: var(--skill); opacity: 0; transition: opacity .3s;
}
.skill-card:hover, .skill-card:focus-visible {
    transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-lg); outline: none;
}
.skill-card:hover::before, .skill-card:focus-visible::before { opacity: 1; }
.skill-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.skill-card-icon {
    position: relative; width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 12px; font-size: 23px; overflow: hidden;
}
.skill-card-icon::before { content: ""; position: absolute; inset: 0; background: var(--skill); opacity: .12; }
.skill-card-icon i { position: relative; }
.skill-card-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.skill-card-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1.1px; color: var(--text-dim); margin-top: 3px; }

.skill-bar { height: 6px; margin: 16px 0 12px; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; }
.skill-bar span {
    display: block; height: 100%; width: var(--w); border-radius: inherit;
    background: var(--gradient); animation: barGrow 1s var(--ease) both;
}
@keyframes barGrow { from { width: 0; } }

.skill-card-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto;
    font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim);
}
.skill-card-more { color: var(--accent); font-family: var(--font-sans); font-weight: 600; font-size: 12.5px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.skill-card-more i { font-size: 11px; }
.skill-card:hover .skill-card-more, .skill-card:focus-visible .skill-card-more { opacity: 1; transform: none; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; }
.filter-label { font-size: 12.5px; color: var(--text-dim); margin-right: 6px; }
.filter-btn {
    padding: 8px 16px; border: 1px solid var(--border); border-radius: 30px; background: var(--bg-surface);
    font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--text-muted);
    transition: all .25s var(--ease);
}
.filter-btn:hover { color: var(--text-main); border-color: var(--text-dim); }
.filter-btn.active { color: #fff; border-color: var(--text-main); background: var(--text-main); }
.filter-btn .count { color: inherit; opacity: .7; margin-left: 4px; }

@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.skill-badge {
    flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: .3px; line-height: 1.4; white-space: nowrap;
}
.skill-badge--expert     { background: rgba(15,118,110,.1);  color: #115e59; }
.skill-badge--advanced   { background: rgba(14,165,233,.12); color: #0369a1; }
.skill-badge--proficient { background: rgba(22,163,74,.1);  color: #15803d; }
.skill-badge--familiar   { background: #f1f5f9;             color: #475569; }

.skill-icon {
    width: 54px; height: 54px; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elevated);
    font-size: 28px; color: var(--text-main);
}
.skill-level-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 14px; margin-bottom: 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-input);
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.2px; color: var(--text-dim);
}
.skill-level-row .skill-badge { font-family: var(--font-sans); letter-spacing: .3px; }
/* =========================================================
   PROJECTS
   ========================================================= */
.projects-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card {
    position: relative; overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(22px, 2.6vw, 36px);
    display: flex; flex-direction: column;
    transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
    animation: cardIn .6s var(--ease) both;
}
.project-card.featured,
.project-card.featured ~ .project-card:last-child:nth-child(even) { grid-column: 1 / -1; }
.project-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-lg); }
.project-card::after {
    content: attr(data-num); position: absolute; right: 26px; top: 14px;
    font-family: var(--font-display); font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
    color: var(--bg-elevated); pointer-events: none; z-index: 0;
}
.project-cat { position: relative; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 10px; }
.project-title { position: relative; font-family: var(--font-display); font-size: clamp(21px, 2vw, 26px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; max-width: 900px; }
.project-desc { font-size: 15px; color: var(--text-muted); max-width: 820px; margin-bottom: 22px; }

.project-dash { border: 1px solid var(--border); border-radius: 8px; background: var(--bg-deep); padding: 20px 24px; margin-bottom: 22px; }
.dash-head {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.2px;
}
.dash-head span:first-child { display: flex; align-items: center; gap: 10px; }
.dash-head span:last-child { color: var(--text-dim); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dash-stats small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 4px; }
.dash-stats strong { font-family: var(--font-mono); font-size: clamp(17px, 1.5vw, 20px); }
.dash-stats strong.good { color: var(--green); }

.project-highlight {
    display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
    padding: 7px 12px; margin-bottom: 20px;
    border-radius: 8px; background: var(--accent-soft);
    font-size: 13px; font-weight: 500; color: var(--accent);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
    padding: 5px 11px; border: 1px solid var(--border); border-radius: 30px; background: var(--bg-elevated);
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .5px; color: var(--text-muted);
}
.project-link {
    margin-top: auto; align-self: flex-start;
    font-size: 14px; font-weight: 600;
    border-bottom: 1px solid var(--border-accent); padding-bottom: 4px; transition: color .25s, border-color .25s;
}
.project-link:hover { color: var(--accent); border-color: var(--accent); }

.project-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; position: relative; z-index: 1; }
.project-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 12px; border-radius: 30px;
    background: var(--bg-elevated); color: var(--text-muted);
    font-size: 12px; font-weight: 600;
}
.project-card.featured .project-badge { background: var(--accent); color: var(--on-accent); }
.project-badge.freelance { background: #fef3c7; color: #92400e; }
.project-role { font-size: 12px; color: var(--text-dim); }
.project-desc, .project-highlight, .project-card .tags, .project-actions { position: relative; }
.project-card.featured { border-color: var(--border-accent); }

.featured-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 26px; }
.featured-label { font-size: 12px; letter-spacing: 2px; color: var(--accent); }
.featured-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.featured-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border: 1px solid var(--border); border-radius: 30px; background: var(--bg-card);
    font-size: 13px; font-weight: 500; color: var(--text-main);
    transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.featured-chip i { color: var(--accent); font-size: 13px; }
.featured-chip:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }

.education { margin-top: clamp(44px, 5vw, 70px); }
.edu-list { display: grid; gap: 18px; margin-top: 30px; }
.edu-card {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
    padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card);
    transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.edu-card:hover { border-color: var(--border-accent); transform: translateX(4px); }
.edu-icon {
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
    background: var(--accent-soft); color: var(--accent); font-size: 20px;
}
.edu-degree { font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.achievements-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.achievement-card { grid-template-columns: auto 1fr; }
.achievement-card .edu-icon { background: #fef3c7; color: #b45309; }

.project-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.project-actions .project-link { margin-top: 0; }
.project-modules {
    font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; color: var(--text-dim);
    transition: color .25s;
}
.project-modules:hover { color: var(--accent); }

/* ---------- Sub-projects ---------- */
.sub-projects { margin-top: clamp(44px, 5vw, 70px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--border); }
.sub-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.sub-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.sub-desc { color: var(--text-muted); font-size: 15px; }

.module-explorer { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }

.module-tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--nav-height) + 20px); }
.module-tab {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card);
    color: var(--text-main); box-shadow: var(--shadow-sm);
    transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s;
}
.module-tab:hover { border-color: var(--border-accent); transform: translateX(3px); }
.module-tab-icon {
    width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 15px;
    transition: background .25s, color .25s;
}
.module-tab-text { flex: 1; min-width: 0; }
.module-tab-text strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.module-tab-text small { display: block; font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.module-tab-count {
    min-width: 28px; padding: 3px 8px; border-radius: 999px; text-align: center;
    font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); background: var(--bg-elevated);
}
.module-tab.active {
    border-color: var(--accent); background: linear-gradient(120deg, rgba(79, 70, 229, .08), rgba(14, 165, 233, .05));
    box-shadow: 0 10px 24px rgba(79, 70, 229, .12);
}
.module-tab.active .module-tab-icon { background: var(--gradient); color: var(--on-accent); }
.module-tab.active .module-tab-count { background: var(--accent); color: var(--on-accent); }

.module-panel {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.module-panel-top {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(79, 70, 229, .06), rgba(14, 165, 233, .03) 70%, transparent);
}
.module-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 26px 18px; }
.module-panel-label { display: block; font-size: 10.5px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 8px; }
.module-panel-head h4 { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: .4px; line-height: 1.15; margin-bottom: 8px; }
.module-panel-head p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 620px; }
.module-panel-count { flex-shrink: 0; text-align: center; padding: 10px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); }
.module-panel-count strong {
    display: block; font-family: var(--font-display); font-size: 32px; line-height: 1;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.module-panel-count span { font-size: 10px; letter-spacing: 1.5px; color: var(--text-dim); }

.module-stack { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 26px 20px; }
.module-stack span {
    padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card);
    font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
}

.module-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.module-item {
    display: flex; gap: 14px; padding: 18px 26px;
    border-bottom: 1px solid var(--border);
    animation: cardIn .45s var(--ease) both;
    transition: background .25s;
}
.module-item:nth-child(odd) { border-right: 1px solid var(--border); }
.module-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
.module-item:last-child, .module-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.module-item:hover { background: var(--bg-input); }
.module-num {
    flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center;
    border-radius: 9px; background: var(--accent-soft);
    font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent);
}
.module-body { min-width: 0; }
.module-body h5 { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.module-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 6px; }
.module-tags { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
    content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px;
    background: var(--border);
}
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; margin-bottom: 22px; }
.tl-num {
    position: relative; z-index: 1;
    width: 56px; height: 56px; display: grid; place-items: center;
    border: 1px solid var(--border-accent); border-radius: 50%; background: var(--bg-surface);
    font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--accent);
}
.tl-item.current .tl-num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tl-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(20px, 2.4vw, 30px);
    transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.tl-card:hover { border-color: var(--border-accent); transform: translateX(4px); }
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.tl-role { font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-present {
    font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--green);
    border: 1px solid rgba(22, 163, 74, .35); background: var(--green-soft); padding: 3px 9px; border-radius: 30px;
}
.tl-company { color: var(--text-muted); font-size: 15px; margin-top: 4px; }
.tl-company span { color: var(--text-dim); margin: 0 6px; }
.tl-period { text-align: right; font-family: var(--font-mono); }
.tl-period strong { display: block; font-size: 13px; font-weight: 500; }
.tl-period small { font-size: 12px; color: var(--text-dim); }
.tl-highlight { font-size: 13.5px; font-weight: 600; color: var(--accent); margin: 8px 0 12px; }
.tl-points { list-style: none; margin-bottom: 18px; }
.tl-points li { position: relative; padding-left: 22px; color: var(--text-muted); margin-bottom: 7px; font-size: 14.5px; }
.tl-points li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }
.tl-tech { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-tech > span:first-child { font-size: 13px; color: var(--text-dim); margin-right: 4px; }
.tl-tech .tag { font-size: 11px; padding: 4px 10px; }

/* =========================================================
   BENCHMARK
   ========================================================= */
.bench-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bench-head {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    padding: 22px 30px; border-bottom: 1px solid var(--border);
}
.bench-head > span { font-size: 13px; letter-spacing: 2px; color: var(--text-muted); }
.bench-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.bench-tab {
    padding: 10px 16px; border: 1px solid var(--border); border-radius: 4px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-muted);
    transition: all .25s;
}
.bench-tab:hover { color: var(--text-main); }
.bench-tab.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.bench-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bench-item { padding: 26px 24px; border-right: 1px solid var(--border); animation: fadeIn .5s var(--ease) both; }
.bench-item:last-child { border-right: none; }
.bench-value { font-family: var(--font-display); font-size: clamp(32px, 3vw, 44px); font-weight: 700; line-height: 1; margin-bottom: 10px; color: var(--accent); }
.bench-value small { font-size: .4em; color: var(--text-dim); margin-left: 4px; }
.bench-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.2px; color: var(--text-main); margin-bottom: 8px; }
.bench-desc { color: var(--text-muted); font-size: 14px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(24px, 3.5vw, 44px); overflow: hidden;
}
.quote-icon { position: absolute; right: 40px; top: 30px; font-size: 90px; color: var(--accent-soft); }
.testimonial-slides { position: relative; min-height: 190px; }
.t-slide { display: none; }
.t-slide.active { display: block; animation: fadeIn .6s var(--ease); }
.t-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 16px; }
.t-quote { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; font-weight: 400; color: var(--text-main); margin-bottom: 24px; max-width: 900px; }
.t-author { display: flex; align-items: center; gap: 16px; }
.t-avatar {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: var(--accent-soft); border: 1px solid var(--border-accent); color: var(--accent); font-size: 20px;
}
.t-author strong { display: block; font-size: 17px; }
.t-author small { color: var(--text-dim); font-size: 14px; }
.testimonial-nav { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.t-btn {
    width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%;
    transition: all .25s;
}
.t-btn:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.t-count { font-size: 14px; letter-spacing: 2px; color: var(--text-muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.form-head { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--green); margin-bottom: 12px; }
.form-sub { color: var(--text-muted); margin-bottom: 30px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.form-group label small { color: var(--text-dim); letter-spacing: .5px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 16px;
    background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text-main); font-family: var(--font-sans); font-size: 15px;
    transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-group select {
    width: 100%; padding: 13px 44px 13px 16px; appearance: none; -webkit-appearance: none; cursor: pointer;
    background: var(--bg-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 18px center;
    border: 1px solid var(--border); border-radius: 10px;
    color: var(--text-main); font-family: var(--font-sans); font-size: 15px;
    transition: border-color .25s, box-shadow .25s;
}
.form-group select option { background: var(--bg-elevated); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.inquiry-types { display: flex; flex-wrap: wrap; gap: 10px; }
.inquiry-pill { position: relative; cursor: pointer; }
.form-group .inquiry-pill input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.inquiry-pill span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-input);
    font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--text-muted);
    transition: all .25s;
}
.inquiry-pill:hover span { border-color: var(--border-accent); color: var(--text-main); }
.inquiry-pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text-main); }
.inquiry-pill input:checked + span i { color: var(--accent); }
.inquiry-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.avail-list { list-style: none; }
.avail-list li { color: var(--text-muted); font-size: 15px; margin-bottom: 6px; }
.avail-list i { color: var(--green); margin-right: 8px; font-size: 13px; }
.form-group.error input, .form-group.error textarea { border-color: #f87171; }
.form-error { display: block; min-height: 18px; margin-top: 6px; font-family: var(--font-mono); font-size: 12px; color: #f87171; }

.info-item { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s var(--ease); }
a.info-item:hover { padding-left: 8px; }
a.info-item:hover strong { color: var(--accent); }
.info-icon {
    width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 18px;
}
.info-item span.mono { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 2px; }
.info-item strong { font-size: 16px; word-break: break-word; transition: color .25s; }
.available-box { margin-top: 26px; padding: 22px; border: 1px solid rgba(22,163,74,.2); background: var(--green-soft); border-radius: 14px; }
.available-box .mono { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--green); margin-bottom: 8px; }
.available-box p { color: var(--text-muted); font-size: 15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-muted); }
.footer-status { display: flex; align-items: center; gap: 10px; color: var(--green); }
.back-top:hover { color: var(--accent); }

/* ---------- WhatsApp ---------- */
.whatsapp-btn {
    position: fixed; left: 24px; bottom: 28px; z-index: 80;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; font-size: 28px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .3);
    transition: transform .3s var(--ease);
}
.whatsapp-btn:hover { transform: scale(1.08); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); backdrop-filter: blur(6px); }
.modal-box {
    position: relative; width: 100%; max-width: 760px; max-height: 88vh; overflow-y: auto;
    background: var(--bg-surface); border: 1px solid var(--border-accent); border-radius: var(--radius);
    padding: clamp(28px, 4vw, 48px);
    transform: translateY(30px) scale(.97); transition: transform .45s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-close {
    position: absolute; right: 18px; top: 18px; width: 42px; height: 42px;
    border: 1px solid var(--border); border-radius: 50%; font-size: 18px; transition: all .25s;
}
.modal-close:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.modal-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 14px; }
.modal-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 18px; padding-right: 40px; }
.modal-text { color: var(--text-muted); margin-bottom: 22px; font-size: 16px; }
.modal-sub { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin: 24px 0 12px; }
.modal-list { list-style: none; }
.modal-list li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--text-muted); }
.modal-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.modal-skill-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.modal-skill-head .skill-icon { flex-shrink: 0; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; right: 24px; bottom: 28px; z-index: 300;
    padding: 16px 22px; border-radius: 12px; max-width: 360px;
    background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-main);
    box-shadow: var(--shadow-lg); font-size: 13px;
    transform: translateY(120px); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.toast.show { transform: none; opacity: 1; }
.toast.success { border-color: rgba(34,197,94,.5); }
.toast.error { border-color: rgba(248,113,113,.6); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1200px) {
    .menu-btn { display: none; }
}

@media (min-width: 1200px) and (max-width: 1480px) {
    .logo { gap: 10px; }
    .nav-actions { gap: 10px; }
    .nav-hire, .nav-resume { padding: 0 16px; }
}

@media (max-width: 1199px) {
    .nav-links { display: none; }
}

@media (max-width: 1200px) {
    .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process { grid-template-columns: repeat(3, 1fr); }
    .process-step:nth-child(3) { border-right: none; }
    .process-step:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
    .bench-grid { grid-template-columns: repeat(2, 1fr); }
    .bench-item:nth-child(2) { border-right: none; }
    .bench-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-head { grid-template-columns: 1fr; align-items: start; }
    .about-layout { grid-template-columns: minmax(0, 1fr); }
    .flow-steps { flex-direction: column; align-items: stretch; }
    .flow-arrow { transform: rotate(90deg); align-self: center; }
    .hero-title { font-size: clamp(36px, 7vw, 56px); }
    .hero-right { max-width: 720px; }
    .projects-list { grid-template-columns: 1fr; }
    .sub-head { grid-template-columns: 1fr; gap: 16px; }
    .module-explorer { grid-template-columns: 1fr; gap: 16px; }
    .module-tabs {
        position: static; flex-direction: row; overflow-x: auto; padding: 2px 2px 8px;
        scrollbar-width: none;
    }
    .module-tabs::-webkit-scrollbar { display: none; }
    .module-tab { width: auto; flex-shrink: 0; }
    .module-tab:hover { transform: translateY(-2px); }
    .services-grid, .engage-grid { grid-template-columns: repeat(2, 1fr); }
    .engage-grid .engage-card:last-child { grid-column: 1 / -1; }
    .job-grid { grid-template-columns: 1fr; }
    .hero-main { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .hero-visual { max-width: 460px; width: 100%; margin: 0 auto; }
    .hero-tech { flex-direction: column; align-items: flex-start; }
    .skills-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .skill-side { position: static; }
    .skill-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .skill-tabs::-webkit-scrollbar { display: none; }
    .skill-tab { width: auto; flex-shrink: 0; }
    .skill-legend { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 680px) {
    :root { --nav-height: 68px; }
    .module-list { grid-template-columns: 1fr; }
    .module-item { padding: 16px 18px; }
    .module-item:nth-child(odd) { border-right: none; }
    .module-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--border); }
    .module-panel-head { padding: 20px 18px 14px; gap: 14px; }
    .module-panel-head h4 { font-size: 22px; }
    .module-panel-count { padding: 8px 12px; }
    .module-panel-count strong { font-size: 26px; }
    .module-stack { padding: 0 18px 16px; }
    .logo-text { font-size: 18px; }
    .logo-box { width: 36px; height: 36px; font-size: 13px; }
    .menu-btn { width: 46px; height: 44px; }
    .section-label { font-size: 12px; letter-spacing: 1.5px; }
    .status-badge { font-size: 12px; }
    .hero { padding-top: calc(var(--nav-height) + 40px); }
    .hero-buttons .btn { flex: 1 1 100%; }
    .hero-greet { font-size: 17px; }
    .hero-role-line { display: none; }
    .hero-copy .typing-box { border-radius: 12px; }
    .hero-contact { flex-direction: column; gap: 10px; }
    .profile-orbit { width: min(100%, 330px); }
    .float-chip { padding: 9px 12px; gap: 9px; }
    .chip-exp { left: -2%; }
    .chip-exp strong { font-size: 24px; }
    .chip-exp span { font-size: 11px; }
    .chip-award { right: -2%; }
    .chip-award i { width: 32px; height: 32px; }
    .chip-award strong { font-size: 13px; }
    .float-icon { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
    .icon-net { right: -2%; }
    .icon-sql { left: -2%; }
    .now-card { padding: 12px 18px; }
    .hero .hero-stats { margin-top: 56px; }
    .about-highlights { grid-template-columns: minmax(0, 1fr); }
    .profile-card { padding: 22px; }
    .profile-facts li { grid-template-columns: 18px 80px minmax(0, 1fr); font-size: 13.5px; }
    .stack-list span { padding: 8px 12px; font-size: 13px; }
    .nav-hire, .nav-resume { display: none; }
    .edu-card { grid-template-columns: 1fr; gap: 14px; }
    .achievements-list { grid-template-columns: 1fr; }
    .edu-icon { width: 52px; height: 52px; font-size: 20px; }
    .hire-paths, .hire-tabs, .form-row { grid-template-columns: 1fr; }
    .hire-tab { padding: 18px 20px; }
    .services-grid, .engage-grid { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; }
    .process-step { border-right: none !important; border-bottom: 1px solid var(--border); }
    .process-step:last-child { border-bottom: none; }
    .pref-row { grid-template-columns: 1fr; gap: 4px; }
    .hire-cta { padding: 26px 22px; }
    .hire-cta-actions .btn, .job-actions .btn { flex: 1 1 100%; }
    .hero-stats { margin-top: 50px; }
    .stat { padding: 22px 18px; }
    .hero-info-grid { grid-template-columns: 1fr; }
    .hero-info-grid > div { border-right: none; border-bottom: 1px solid var(--border); }
    .hero-info-grid > div:last-child { border-bottom: none; }
    .dash-stats { grid-template-columns: 1fr; }
    .project-card::after { font-size: 80px; }
    .timeline::before { left: 21px; }
    .tl-item { grid-template-columns: 44px 1fr; gap: 16px; }
    .tl-num { width: 44px; height: 44px; font-size: 13px; }
    .tl-period { text-align: left; }
    .bench-grid { grid-template-columns: 1fr; }
    .bench-item { border-right: none !important; border-bottom: 1px solid var(--border); }
    .bench-item:last-child { border-bottom: none; }
    .whatsapp-btn { width: 56px; height: 56px; font-size: 28px; left: 16px; bottom: 18px; }
    .toast { left: 16px; right: 16px; max-width: none; }
    .skill-tab { padding: 8px 12px 8px 8px; font-size: 14px; }
    .skill-tab-icon { width: 30px; height: 30px; font-size: 13px; }
    .skill-panel-head h3 { font-size: 22px; }
    .skill-grid { gap: 12px; }
    .skill-card { padding: 14px 14px 12px; }
    .skill-card-top { margin-bottom: 10px; }
    .skill-card-icon { width: 40px; height: 40px; font-size: 19px; }
    .skill-card-name { font-size: 14.5px; }
    .skill-card-top .skill-badge { font-size: 10px; padding: 3px 8px; }
    .skill-bar { margin: 12px 0 10px; }
    .skill-card-more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
